summaryrefslogtreecommitdiffstats
path: root/include/linux/rcupdate.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-05-26 19:16:40 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-07-24 19:03:22 -0400
commit825c5bd2fd47d30148db15fc121216c483682b01 (patch)
treeb31f9dae8649d26b1cbbda9f8821ba2c917c13a1 /include/linux/rcupdate.h
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff)
srcu: Move rcu_scheduler_starting() from Tiny RCU to Tiny SRCU
Other than lockdep support, Tiny RCU has no need for the scheduler status. However, Tiny SRCU will need this to control boot-time behavior independent of lockdep. Therefore, this commit moves rcu_scheduler_starting() from kernel/rcu/tiny_plugin.h to kernel/rcu/srcutiny.c. This in turn allows the complete removal of kernel/rcu/tiny_plugin.h. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r--include/linux/rcupdate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index f816fc72b51e..55c29e1650b9 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -105,6 +105,7 @@ static inline int rcu_preempt_depth(void)
105 105
106/* Internal to kernel */ 106/* Internal to kernel */
107void rcu_init(void); 107void rcu_init(void);
108extern int rcu_scheduler_active __read_mostly;
108void rcu_sched_qs(void); 109void rcu_sched_qs(void);
109void rcu_bh_qs(void); 110void rcu_bh_qs(void);
110void rcu_check_callbacks(int user); 111void rcu_check_callbacks(int user);