summaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2009-09-24 01:18:13 +0200
committerIngo Molnar <mingo@elte.hu>2009-10-05 21:01:28 +0200
commit162cc2794df37662beb7f97ddd1dd5bffaf85e9a (patch)
tree88619bce8fce70c4f19c1a5809448d7b624bbb9e /kernel/rcutree.c
parentrcu: Clean up code to address Ingo's checkpatch feedback (diff)
downloadlinux-162cc2794df37662beb7f97ddd1dd5bffaf85e9a.tar.xz
linux-162cc2794df37662beb7f97ddd1dd5bffaf85e9a.zip
rcu: Fix rcu_lock_map build failure on CONFIG_PROVE_LOCKING=y
Move the rcu_lock_map definition from rcutree.c to rcupdate.c so that TINY_RCU can use lockdep. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 8e52cde7b8f7..81af59b8dd88 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -49,13 +49,6 @@
#include "rcutree.h"
-#ifdef CONFIG_DEBUG_LOCK_ALLOC
-static struct lock_class_key rcu_lock_key;
-struct lockdep_map rcu_lock_map =
- STATIC_LOCKDEP_MAP_INIT("rcu_read_lock", &rcu_lock_key);
-EXPORT_SYMBOL_GPL(rcu_lock_map);
-#endif
-
/* Data structures. */
#define RCU_STATE_INITIALIZER(name) { \