aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 099a255ede4..29d88c08d87 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -1550,10 +1550,9 @@ static int rcu_pending(int cpu)
1550/* 1550/*
1551 * Check to see if any future RCU-related work will need to be done 1551 * Check to see if any future RCU-related work will need to be done
1552 * by the current CPU, even if none need be done immediately, returning 1552 * by the current CPU, even if none need be done immediately, returning
1553 * 1 if so. This function is part of the RCU implementation; it is -not- 1553 * 1 if so.
1554 * an exported member of the RCU API.
1555 */ 1554 */
1556int rcu_needs_cpu(int cpu) 1555static int rcu_needs_cpu_quick_check(int cpu)
1557{ 1556{
1558 /* RCU callbacks either ready or pending? */ 1557 /* RCU callbacks either ready or pending? */
1559 return per_cpu(rcu_sched_data, cpu).nxtlist || 1558 return per_cpu(rcu_sched_data, cpu).nxtlist ||