From: Paul E. McKenney Date: Fri, 1 Jan 2016 21:38:12 +0000 (-0800) Subject: rcu: Export rcu_gp_is_normal() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4f2a848c567c72f778352d65cc7c155d1a0977fd;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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) { return READ_ONCE(rcu_normal); } +EXPORT_SYMBOL_GPL(rcu_gp_is_normal); static atomic_t rcu_expedited_nesting = ATOMIC_INIT(IS_ENABLED(CONFIG_RCU_EXPEDITE_BOOT) ? 1 : 0);