summaryrefslogtreecommitdiff
path: root/kernel/rcu
diff options
context:
space:
mode:
authorGuenter Roeck <groeck@chromium.org>2016-08-31 09:52:16 -0700
committerGuenter Roeck <groeck@chromium.org>2016-08-31 10:10:44 -0700
commit4547c0f93518197834f7fc11c6558b566b7e14c8 (patch)
tree9fc64dc23fce41e5dbee52d5a39725ddfc93caa9 /kernel/rcu
parent6087158f06e3cc66897cb4571cb673ac9fffb12d (diff)
ANDROID: rcu_sync: Export rcu_sync_lockdep_assert
x86_64:allmodconfig fails to build with the following error. ERROR: "rcu_sync_lockdep_assert" [kernel/locking/locktorture.ko] undefined! Introduced by commit 3228c5eb7af2 ("RFC: FROMLIST: locking/percpu-rwsem: Optimize readers and reduce global impact"). The applied upstream version exports the missing symbol, so let's do the same. Change-Id: If4e516715c3415fe8c82090f287174857561550d Fixes: 3228c5eb7af2 ("RFC: FROMLIST: locking/percpu-rwsem: Optimize ...") Signed-off-by: Guenter Roeck <groeck@chromium.org>
Diffstat (limited to 'kernel/rcu')
-rw-r--r--kernel/rcu/sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/sync.c b/kernel/rcu/sync.c
index e358313a0d6c..b49cf3ac2d47 100644
--- a/kernel/rcu/sync.c
+++ b/kernel/rcu/sync.c
@@ -68,6 +68,7 @@ void rcu_sync_lockdep_assert(struct rcu_sync *rsp)
RCU_LOCKDEP_WARN(!gp_ops[rsp->gp_type].held(),
"suspicious rcu_sync_is_idle() usage");
}
+EXPORT_SYMBOL_GPL(rcu_sync_lockdep_assert);
#endif
/**