rcu: Move __rcu_read_lock() and __rcu_read_unlock() to tree_plugin.h
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 19 Mar 2018 15:05:04 +0000 (08:05 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 15 May 2018 17:27:41 +0000 (10:27 -0700)
commit0e5da22e3f809ab9e86a566b9537b02b9496408e
tree8511ce0197eecf578cdaf4d0d3d90bcc5e4878a0
parentc3442697c2d73d3cdb9d4135cf630ad36ba8552f
rcu: Move __rcu_read_lock() and __rcu_read_unlock() to tree_plugin.h

The __rcu_read_lock() and __rcu_read_unlock() functions were moved
to kernel/rcu/update.c in order to implement tiny preemptible RCU.
However, tiny preemptible RCU was removed from the kernel a long time
ago, so this commit belatedly moves them back into the only remaining
preemptible-RCU code.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Nicholas Piggin <npiggin@gmail.com>
kernel/rcu/tree_plugin.h
kernel/rcu/update.c