aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rcutiny.h
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2010-10-20 23:29:05 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-11-30 01:01:58 -0500
commit7b27d5475f86186914e54e4a6bb994e9a985337b (patch)
tree36349c88d75497db89956d6721d82c4f889cbc2b /include/linux/rcutiny.h
parentdeb7a41815a8a32d4f9ea2af7a48ed1175222cec (diff)
rcu,cleanup: move synchronize_sched_expedited() out of sched.c
The first version of synchronize_sched_expedited() used the migration code in the scheduler, and was therefore implemented in kernel/sched.c. However, the more recent version of this code no longer uses the migration code, so this commit moves it to the main RCU source files. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rcutiny.h')
-rw-r--r--include/linux/rcutiny.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h
index ea025a611fcc..30ebd7c8d874 100644
--- a/include/linux/rcutiny.h
+++ b/include/linux/rcutiny.h
@@ -60,6 +60,11 @@ static inline void synchronize_rcu_bh_expedited(void)
60 synchronize_sched(); 60 synchronize_sched();
61} 61}
62 62
63static inline void synchronize_sched_expedited(void)
64{
65 synchronize_sched();
66}
67
63#ifdef CONFIG_TINY_RCU 68#ifdef CONFIG_TINY_RCU
64 69
65static inline void rcu_preempt_note_context_switch(void) 70static inline void rcu_preempt_note_context_switch(void)