Skip to content
Commit 5ae0f1b5 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Create and use an rcu_rdp_cpu_online()



The pattern "rdp->grpmask & rcu_rnp_online_cpus(rnp)" occurs frequently
in RCU code in order to determine whether rdp->cpu is online from an
RCU perspective.  This commit therefore creates an rcu_rdp_cpu_online()
function to replace it.

[ paulmck: Apply kernel test robot unused-variable feedback. ]

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 80b3fd47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment