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 /kernel/rcu/srcu.c | |
parent | f2425b4efb0c69e77c0b9666b605ae4a1ecaae47 (diff) |
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 'kernel/rcu/srcu.c')
-rw-r--r-- | kernel/rcu/srcu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/srcu.c b/kernel/rcu/srcu.c index 56fd30862122..0b511de7ca4d 100644 --- a/kernel/rcu/srcu.c +++ b/kernel/rcu/srcu.c @@ -36,6 +36,7 @@ #include <linux/delay.h> #include <linux/srcu.h> +#include <linux/rcu_node_tree.h> #include "rcu.h" static int init_srcu_struct_fields(struct srcu_struct *sp) |