]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/rcupdate.c
[MTD] jedec probe: drop unnecessary forward declarations
[linux-2.6-omap-h63xx.git] / kernel / rcupdate.c
index 2c2dd8410dc4fd8b27d0e66dcd31daceb56ff027..a66d4d1615f7ff978616c86a350d582cc11ff20f 100644 (file)
 #include <linux/moduleparam.h>
 #include <linux/percpu.h>
 #include <linux/notifier.h>
-#include <linux/rcupdate.h>
 #include <linux/cpu.h>
 #include <linux/mutex.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
+
 /* Definition for rcupdate control block. */
 static struct rcu_ctrlblk rcu_ctrlblk = {
        .cur = -300,