summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_trace.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-03-14 22:29:53 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-04-18 20:38:20 +0200
commit2b34c43cc1671c59bad6dd1682ae3ee4f0919eb7 (patch)
tree43741e096b4627598e7deb28a333596cd3f5fdb5 /kernel/rcu/tree_trace.c
parentsrcu: Move combining-tree definitions for SRCU's benefit (diff)
downloadlinux-2b34c43cc1671c59bad6dd1682ae3ee4f0919eb7.tar.xz
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 'kernel/rcu/tree_trace.c')
-rw-r--r--kernel/rcu/tree_trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/tree_trace.c b/kernel/rcu/tree_trace.c
index 066c64071a7b..30c5bf89ee58 100644
--- a/kernel/rcu/tree_trace.c
+++ b/kernel/rcu/tree_trace.c
@@ -45,6 +45,7 @@
#define RCU_TREE_NONCORE
#include "tree.h"
+#include "rcu.h"
static int r_open(struct inode *inode, struct file *file,
const struct seq_operations *op)