summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/rcu.h
diff options
context:
space:
mode:
authorPaul E. McKenney2017-03-15 21:11:11 +0100
committerPaul E. McKenney2017-04-18 20:38:21 +0200
commite95d68d2127716c7d6fb144bb19ef48ce9f37393 (patch)
tree40f1660a6c2829acc711e4702022f20ca59b83d1 /kernel/rcu/rcu.h
parentsrcu: Move rcu_node traversal macros to rcu.h (diff)
downloadkernel-qcow2-linux-e95d68d2127716c7d6fb144bb19ef48ce9f37393.tar.gz
kernel-qcow2-linux-e95d68d2127716c7d6fb144bb19ef48ce9f37393.tar.xz
kernel-qcow2-linux-e95d68d2127716c7d6fb144bb19ef48ce9f37393.zip
srcu: Make num_rcu_lvl[] array be external
This commit makes the num_rcu_lvl[] array external so that SRCU can make use of it for initializing its upcoming srcu_node tree. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/rcu.h')
-rw-r--r--kernel/rcu/rcu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/rcu.h b/kernel/rcu/rcu.h
index 5c1798ec32f7..4303b880ac99 100644
--- a/kernel/rcu/rcu.h
+++ b/kernel/rcu/rcu.h
@@ -195,6 +195,7 @@ extern void resched_cpu(int cpu);
#include <linux/rcu_node_tree.h>
extern int rcu_num_lvls;
+extern int num_rcu_lvl[];
extern int rcu_num_nodes;
static bool rcu_fanout_exact;
static int rcu_fanout_leaf;