srcu: Move rcu_node traversal macros to rcu.h
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 15 Mar 2017 20:07:53 +0000 (13:07 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 18 Apr 2017 18:38:21 +0000 (11:38 -0700)
commitefbe451d46af62369226e42b98dbcd95b6940a63
treef3bad6628df15667a630bf4edf82de6ae29be6c3
parent41f5c63178b7ca3d775638710b752b81b433fc86
srcu: Move rcu_node traversal macros to rcu.h

This commit moves rcu_for_each_node_breadth_first(),
rcu_for_each_nonleaf_node_breadth_first(), and
rcu_for_each_leaf_node() from kernel/rcu/tree.h to
kernel/rcu/rcu.h so that SRCU can access them.
This commit is code-movement only.

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