summaryrefslogtreecommitdiff
path: root/include/linux/rcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-05-11 12:01:50 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-06-08 18:52:40 -0700
commitd2b1654f91f9e928011fbea7138854ee2044f470 (patch)
treed5d040006735371a535d8f65f610c2e217babd5f /include/linux/rcutree.h
parentfe5ac724d81a3c7803e60c2232718f212f3f38d4 (diff)
downloadlwn-d2b1654f91f9e928011fbea7138854ee2044f470.tar.gz
lwn-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/rcutree.h')
-rw-r--r--include/linux/rcutree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h
index d6aa89d15d47..37d6fd3b7ff8 100644
--- a/include/linux/rcutree.h
+++ b/include/linux/rcutree.h
@@ -91,6 +91,7 @@ void exit_rcu(void);
void rcu_scheduler_starting(void);
extern int rcu_scheduler_active __read_mostly;
+void rcu_end_inkernel_boot(void);
bool rcu_is_watching(void);
void rcu_all_qs(void);