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>
Tue, 12 Apr 2022 00:05:57 +0000 (17:05 -0700)
commit8d2aaa9b7c290e766a41f29c71ec72192851d538
treec9e49d71c7bff85c427f4f5c07b928a00bb89703
parentbeb84099f1cf51e005e5df77d05b1644e490409e
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