提交 bf33eb1a 编写于 作者: P Pranith Kumar 提交者: Paul E. McKenney

rcu: Fix sparse warning about rcu_batches_completed_preempt() being non-static

fix sparse warning about rcu_batches_completed_preempt() being non-static by
marking it as static
Signed-off-by: NPranith Kumar <bobby.prani@gmail.com>
Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
上级 4de376a1
...@@ -134,7 +134,7 @@ static void __init rcu_bootup_announce(void) ...@@ -134,7 +134,7 @@ static void __init rcu_bootup_announce(void)
* Return the number of RCU-preempt batches processed thus far * Return the number of RCU-preempt batches processed thus far
* for debug and statistics. * for debug and statistics.
*/ */
long rcu_batches_completed_preempt(void) static long rcu_batches_completed_preempt(void)
{ {
return rcu_preempt_state.completed; return rcu_preempt_state.completed;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册