Message ID | 20240604222652.2370998-4-paulmck@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | d43a302fc08a598a164614fe42bea065dba9b648 |
Headers | show |
Series | Grace-period memory-barrier adjustments for v6.11 | expand |
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 1a6ef9c5c949e..9fa6d2b557d6c 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -4772,7 +4772,7 @@ rcu_boot_init_percpu_data(int cpu) rdp->grpmask = leaf_node_cpu_bit(rdp->mynode, cpu); INIT_WORK(&rdp->strict_work, strict_work_handler); WARN_ON_ONCE(ct->dynticks_nesting != 1); - WARN_ON_ONCE(rcu_dynticks_in_eqs(rcu_dynticks_snap(cpu))); + WARN_ON_ONCE(rcu_dynticks_in_eqs(ct_dynticks_cpu(cpu))); rdp->barrier_seq_snap = rcu_state.barrier_sequence; rdp->rcu_ofl_gp_seq = rcu_state.gp_seq; rdp->rcu_ofl_gp_state = RCU_GP_CLEANED;