rcu/nocb: Move rcu_nocb_is_setup to rcu_state
authorFrederic Weisbecker <frederic@kernel.org>
Mon, 14 Feb 2022 13:23:39 +0000 (14:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 24 Feb 2022 17:56:47 +0000 (09:56 -0800)
commit2bb32b303a74d824b6c491aa16d7fa0df178659a
treea1b01f41a66c6683121eef8a9383c719fafeaf4d
parent347748eff9500d6f2cfe761abbf7887d9b24eac8
rcu/nocb: Move rcu_nocb_is_setup to rcu_state

This commit moves the RCU nocb initialization witness within rcu_state
to consolidate RCU's global state.

Reported-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Cc: Uladzislau Rezki <uladzislau.rezki@sony.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.h
kernel/rcu/tree_nocb.h