“083a469db4ecf3b286a96b5b722c37fc1affe0be”上不存在“README.md”
提交 e7580f33 编写于 作者: P Paul E. McKenney

rcu: Get rcu_sched_force_quiescent_state() where it belongs

The very similar functions rcu_force_quiescent_state(),
rcu_bh_force_quiescent_state(), and rcu_sched_force_quiescent_state()
are supposed to be together, but have drifted apart.  This commit
restores rcu_sched_force_quiescent_state() to its rightful place.
Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
上级 91afa21d
...@@ -409,6 +409,15 @@ void rcu_bh_force_quiescent_state(void) ...@@ -409,6 +409,15 @@ void rcu_bh_force_quiescent_state(void)
} }
EXPORT_SYMBOL_GPL(rcu_bh_force_quiescent_state); EXPORT_SYMBOL_GPL(rcu_bh_force_quiescent_state);
/*
* Force a quiescent state for RCU-sched.
*/
void rcu_sched_force_quiescent_state(void)
{
force_quiescent_state(&rcu_sched_state);
}
EXPORT_SYMBOL_GPL(rcu_sched_force_quiescent_state);
/* /*
* Show the state of the grace-period kthreads. * Show the state of the grace-period kthreads.
*/ */
...@@ -482,15 +491,6 @@ void rcutorture_record_progress(unsigned long vernum) ...@@ -482,15 +491,6 @@ void rcutorture_record_progress(unsigned long vernum)
} }
EXPORT_SYMBOL_GPL(rcutorture_record_progress); EXPORT_SYMBOL_GPL(rcutorture_record_progress);
/*
* Force a quiescent state for RCU-sched.
*/
void rcu_sched_force_quiescent_state(void)
{
force_quiescent_state(&rcu_sched_state);
}
EXPORT_SYMBOL_GPL(rcu_sched_force_quiescent_state);
/* /*
* Does the CPU have callbacks ready to be invoked? * Does the CPU have callbacks ready to be invoked?
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部