diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-01-01 16:38:12 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-02-23 23:04:51 -0500 |
commit | 4f2a848c567c72f778352d65cc7c155d1a0977fd (patch) | |
tree | 251151a598c0e101f9f71a67f73f60112a303d32 | |
parent | 5d43edb40779b3d88e9c8006b281a4c828431193 (diff) |
rcu: Export rcu_gp_is_normal()
This commit exports rcu_gp_is_normal() in order to allow it to be used
by rcutorture and rcuperf.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rw-r--r-- | kernel/rcu/update.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c index 76b94e19430b..ca828b41c938 100644 --- a/kernel/rcu/update.c +++ b/kernel/rcu/update.c | |||
@@ -128,6 +128,7 @@ bool rcu_gp_is_normal(void) | |||
128 | { | 128 | { |
129 | return READ_ONCE(rcu_normal); | 129 | return READ_ONCE(rcu_normal); |
130 | } | 130 | } |
131 | EXPORT_SYMBOL_GPL(rcu_gp_is_normal); | ||
131 | 132 | ||
132 | static atomic_t rcu_expedited_nesting = | 133 | static atomic_t rcu_expedited_nesting = |
133 | ATOMIC_INIT(IS_ENABLED(CONFIG_RCU_EXPEDITE_BOOT) ? 1 : 0); | 134 | ATOMIC_INIT(IS_ENABLED(CONFIG_RCU_EXPEDITE_BOOT) ? 1 : 0); |