summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-08-15 17:20:58 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-10-07 16:02:50 -0700
commit66fe6cbee44e3f78d05882195a6a38e30b97b936 (patch)
tree7d5265adab84733b40990d13f934cc5b47075059 /kernel/rcu
parent02ef3c4a2aae65a1632b27770bfea3f83ca06772 (diff)
downloadop-kernel-dev-66fe6cbee44e3f78d05882195a6a38e30b97b936.zip
op-kernel-dev-66fe6cbee44e3f78d05882195a6a38e30b97b936.tar.gz
rcu: Prepare for consolidating expedited CPU selection
This commit brings sync_sched_exp_select_cpus() into alignment with sync_rcu_exp_select_cpus(), as a first step towards consolidating them into one function. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu')
-rw-r--r--kernel/rcu/tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 7e7df5d..ae582e3 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -3661,7 +3661,6 @@ static void sync_sched_exp_select_cpus(struct rcu_state *rsp)
unsigned long mask;
unsigned long mask_ofl_test;
unsigned long mask_ofl_ipi;
- struct rcu_data *rdp;
int ret;
struct rcu_node *rnp;
@@ -3697,7 +3696,6 @@ static void sync_sched_exp_select_cpus(struct rcu_state *rsp)
for (cpu = rnp->grplo; cpu <= rnp->grphi; cpu++, mask <<= 1) {
if (!(mask_ofl_ipi & mask))
continue;
- rdp = per_cpu_ptr(rsp->rda, cpu);
ret = smp_call_function_single(cpu, synchronize_sched_expedited_cpu_stop, NULL, 0);
if (!ret)
mask_ofl_ipi &= ~mask;
OpenPOWER on IntegriCloud