diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-03-14 14:29:53 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-18 11:38:20 -0700 |
commit | 2b34c43cc1671c59bad6dd1682ae3ee4f0919eb7 (patch) | |
tree | 43741e096b4627598e7deb28a333596cd3f5fdb5 /include/linux/rcu_node_tree.h | |
parent | f2425b4efb0c69e77c0b9666b605ae4a1ecaae47 (diff) | |
download | linux-2b34c43cc1671c59bad6dd1682ae3ee4f0919eb7.tar.gz linux-2b34c43cc1671c59bad6dd1682ae3ee4f0919eb7.tar.bz2 linux-2b34c43cc1671c59bad6dd1682ae3ee4f0919eb7.zip |
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>
Diffstat (limited to 'include/linux/rcu_node_tree.h')
-rw-r--r-- | include/linux/rcu_node_tree.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/rcu_node_tree.h b/include/linux/rcu_node_tree.h index b7eb97096b1c..4b766b61e1a0 100644 --- a/include/linux/rcu_node_tree.h +++ b/include/linux/rcu_node_tree.h @@ -96,7 +96,4 @@ # error "CONFIG_RCU_FANOUT insufficient for NR_CPUS" #endif /* #if (NR_CPUS) <= RCU_FANOUT_1 */ -extern int rcu_num_lvls; -extern int rcu_num_nodes; - #endif /* __LINUX_RCU_NODE_TREE_H */ |