Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf33eb1a authored by Pranith Kumar's avatar Pranith Kumar Committed by Paul E. McKenney
Browse files

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: default avatarPranith Kumar <bobby.prani@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 4de376a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ static void __init rcu_bootup_announce(void)
 * Return the number of RCU-preempt batches processed thus far
 * for debug and statistics.
 */
long rcu_batches_completed_preempt(void)
static long rcu_batches_completed_preempt(void)
{
	return rcu_preempt_state.completed;
}