diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-05-11 12:01:50 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-08 18:52:40 -0700 |
commit | d2b1654f91f9e928011fbea7138854ee2044f470 (patch) | |
tree | d5d040006735371a535d8f65f610c2e217babd5f /include/linux/rcupdate.h | |
parent | fe5ac724d81a3c7803e60c2232718f212f3f38d4 (diff) | |
download | linux-stable-d2b1654f91f9e928011fbea7138854ee2044f470.tar.gz linux-stable-d2b1654f91f9e928011fbea7138854ee2044f470.tar.bz2 linux-stable-d2b1654f91f9e928011fbea7138854ee2044f470.zip |
rcu: Remove #ifdef moving rcu_end_inkernel_boot from rcupdate.h
This commit removes a #ifdef and saves a few lines of code by moving
the rcu_end_inkernel_boot() function from include/linux/rcupdate.h to
include/linux/rcutiny.h (for TINY_RCU) and to include/linux/rcutree.h
(for TREE_RCU).
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r-- | include/linux/rcupdate.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 7f24a5e673f5..f816fc72b51e 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -111,12 +111,6 @@ void rcu_check_callbacks(int user); void rcu_report_dead(unsigned int cpu); void rcu_cpu_starting(unsigned int cpu); -#ifndef CONFIG_TINY_RCU -void rcu_end_inkernel_boot(void); -#else /* #ifndef CONFIG_TINY_RCU */ -static inline void rcu_end_inkernel_boot(void) { } -#endif /* #ifndef CONFIG_TINY_RCU */ - #ifdef CONFIG_RCU_STALL_COMMON void rcu_sysrq_start(void); void rcu_sysrq_end(void); |