]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/sysctl.c
block: use struct parsed_partitions *state universally in partition check code
[mv-sheeva.git] / kernel / sysctl.c
index 622029ba5103139b41e86df3a7301d648c49e894..8686b0f5fc12fc85d19c31d934bbe34bd55d5af2 100644 (file)
@@ -67,6 +67,9 @@
 #ifdef CONFIG_RT_MUTEXES
 #include <linux/rtmutex.h>
 #endif
+#if defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_LOCK_STAT)
+#include <linux/lockdep.h>
+#endif
 #ifdef CONFIG_CHR_DEV_SG
 #include <scsi/sg.h>
 #endif
@@ -191,9 +194,6 @@ extern struct ctl_table epoll_table[];
 int sysctl_legacy_va_layout;
 #endif
 
-extern int prove_locking;
-extern int lock_stat;
-
 /* The default sysctl tables: */
 
 static struct ctl_table root_table[] = {