提交 c1fe9cde 编写于 作者: P Paul E. McKenney

rcu: Provide rcu_batches_completed_sched() for TINY_RCU

A bug in rcutorture has caused it to ignore completed batches.
In preparation for fixing that bug, this commit provides TINY_RCU with
the required rcu_batches_completed_sched().
Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
上级 6b80da42
...@@ -107,6 +107,14 @@ static inline unsigned long rcu_batches_completed_bh(void) ...@@ -107,6 +107,14 @@ static inline unsigned long rcu_batches_completed_bh(void)
return 0; return 0;
} }
/*
* Return the number of sched grace periods.
*/
static inline unsigned long rcu_batches_completed_sched(void)
{
return 0;
}
static inline void rcu_force_quiescent_state(void) static inline void rcu_force_quiescent_state(void)
{ {
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册