diff options
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r-- | kernel/rcu/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 8f3e4d43d736..a6c5424ffa38 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
@@ -2487,7 +2487,7 @@ static void force_quiescent_state(struct rcu_state *rsp) | |||
2487 | struct rcu_node *rnp_old = NULL; | 2487 | struct rcu_node *rnp_old = NULL; |
2488 | 2488 | ||
2489 | /* Funnel through hierarchy to reduce memory contention. */ | 2489 | /* Funnel through hierarchy to reduce memory contention. */ |
2490 | rnp = per_cpu_ptr(rsp->rda, raw_smp_processor_id())->mynode; | 2490 | rnp = __this_cpu_read(rsp->rda->mynode); |
2491 | for (; rnp != NULL; rnp = rnp->parent) { | 2491 | for (; rnp != NULL; rnp = rnp->parent) { |
2492 | ret = (ACCESS_ONCE(rsp->gp_flags) & RCU_GP_FLAG_FQS) || | 2492 | ret = (ACCESS_ONCE(rsp->gp_flags) & RCU_GP_FLAG_FQS) || |
2493 | !raw_spin_trylock(&rnp->fqslock); | 2493 | !raw_spin_trylock(&rnp->fqslock); |