rcu: Remove rcu_state_p pointer to default rcu_state structure
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 3 Jul 2018 22:54:39 +0000 (15:54 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 30 Aug 2018 23:02:50 +0000 (16:02 -0700)
commit16fc9c600b3caf97f42cdd1e35309b7529a55cfb
tree74a67fdc1d0d1938d33072f236d24e79156f3319
parentda1df50d16171f4c65da18093d5b5652423f5b99
rcu: Remove rcu_state_p pointer to default rcu_state structure

The rcu_state_p pointer references the default rcu_state structure,
that is, the one that call_rcu() uses, as opposed to call_rcu_bh()
and sometimes call_rcu_sched().  But there is now only one rcu_state
structure, so that one structure is by definition the default, which
means that the rcu_state_p pointer no longer serves any useful purpose.
This commit therefore removes it.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c
kernel/rcu/tree_exp.h
kernel/rcu/tree_plugin.h