srcu: Move rcu_init_levelspread() to rcu_tree_node.h
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 14 Mar 2017 21:29:53 +0000 (14:29 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 18 Apr 2017 18:38:20 +0000 (11:38 -0700)
commit2b34c43cc1671c59bad6dd1682ae3ee4f0919eb7
tree43741e096b4627598e7deb28a333596cd3f5fdb5
parentf2425b4efb0c69e77c0b9666b605ae4a1ecaae47
srcu: Move rcu_init_levelspread() to rcu_tree_node.h

This commit moves the rcu_init_levelspread() function from
kernel/rcu/tree.c to kernel/rcu/rcu.h so that SRCU can access it.  This is
another step towards enabling SRCU to create its own combining tree.
This commit is code-movement only, give or take knock-on adjustments.

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