aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r--kernel/rcu/tree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index f75eb5174021..6396a3d10be9 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -2988,11 +2988,11 @@ static void __call_rcu_core(struct rcu_state *rsp, struct rcu_data *rdp,
2988 2988
2989 /* Start a new grace period if one not already started. */ 2989 /* Start a new grace period if one not already started. */
2990 if (!rcu_gp_in_progress(rsp)) { 2990 if (!rcu_gp_in_progress(rsp)) {
2991 struct rcu_node *rnp_root = rcu_get_root(rsp); 2991 struct rcu_node *rnp = rdp->mynode;
2992 2992
2993 raw_spin_lock_rcu_node(rnp_root); 2993 raw_spin_lock_rcu_node(rnp);
2994 needwake = rcu_start_gp(rsp); 2994 needwake = rcu_accelerate_cbs(rsp, rnp, rdp);
2995 raw_spin_unlock_rcu_node(rnp_root); 2995 raw_spin_unlock_rcu_node(rnp);
2996 if (needwake) 2996 if (needwake)
2997 rcu_gp_kthread_wake(rsp); 2997 rcu_gp_kthread_wake(rsp);
2998 } else { 2998 } else {