summaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
authorPaul E. McKenney2012-01-12 20:01:14 +0100
committerPaul E. McKenney2012-02-21 18:03:44 +0100
commit30fbcc90b02187c55c57ff0ecf57cecbd487d694 (patch)
tree866824e1972d900ceda045c93a3958c74ffbf1e9 /kernel/rcutree.c
parentrcu: Simplify unboosting checks (diff)
downloadkernel-qcow2-linux-30fbcc90b02187c55c57ff0ecf57cecbd487d694.tar.gz
kernel-qcow2-linux-30fbcc90b02187c55c57ff0ecf57cecbd487d694.tar.xz
kernel-qcow2-linux-30fbcc90b02187c55c57ff0ecf57cecbd487d694.zip
rcu: Clean up straggling rcu_preempt_needs_cpu() name
The recent updates to RCU_CPU_FAST_NO_HZ have an rcu_needs_cpu() that does more than just check for callbacks, so get the name for rcu_preempt_needs_cpu() consistent with that change, now calling it rcu_preempt_cpu_has_callbacks(). Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 49bb363a0837..0569ba11e35a 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -1958,7 +1958,7 @@ static int rcu_cpu_has_callbacks(int cpu)
/* RCU callbacks either ready or pending? */
return per_cpu(rcu_sched_data, cpu).nxtlist ||
per_cpu(rcu_bh_data, cpu).nxtlist ||
- rcu_preempt_needs_cpu(cpu);
+ rcu_preempt_cpu_has_callbacks(cpu);
}
static DEFINE_PER_CPU(struct rcu_head, rcu_barrier_head) = {NULL};