projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d43edb
)
rcu: Export rcu_gp_is_normal()
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Fri, 1 Jan 2016 21:38:12 +0000
(13:38 -0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Wed, 24 Feb 2016 04:04:51 +0000
(20:04 -0800)
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>
kernel/rcu/update.c
patch
|
blob
|
history
diff --git
a/kernel/rcu/update.c
b/kernel/rcu/update.c
index 76b94e19430b21b8f4615b70dbb89282445ca149..ca828b41c938b24e5b11b33e421ea4b4e2366f1f 100644
(file)
--- 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);