aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorDave Young <hidave.darkstar@gmail.com>2010-03-10 18:24:10 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-12 18:53:10 -0500
commit2edf5e49800846a2b2b6461d99cdae18067c440f (patch)
treea03fc295676a23c30ae467ba96a1efaf5762dd90 /kernel/sysctl.c
parent4f0e056fdebc15d3f4724ebc7bbf323158add1d7 (diff)
sysctl extern cleanup: lockdep
Extern declarations in sysctl.c should be moved to their own header file, and then include them in relavant .c files. Move lockdep extern declarations to linux/lockdep.h Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 622029ba5103..8686b0f5fc12 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -67,6 +67,9 @@
67#ifdef CONFIG_RT_MUTEXES 67#ifdef CONFIG_RT_MUTEXES
68#include <linux/rtmutex.h> 68#include <linux/rtmutex.h>
69#endif 69#endif
70#if defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_LOCK_STAT)
71#include <linux/lockdep.h>
72#endif
70#ifdef CONFIG_CHR_DEV_SG 73#ifdef CONFIG_CHR_DEV_SG
71#include <scsi/sg.h> 74#include <scsi/sg.h>
72#endif 75#endif
@@ -191,9 +194,6 @@ extern struct ctl_table epoll_table[];
191int sysctl_legacy_va_layout; 194int sysctl_legacy_va_layout;
192#endif 195#endif
193 196
194extern int prove_locking;
195extern int lock_stat;
196
197/* The default sysctl tables: */ 197/* The default sysctl tables: */
198 198
199static struct ctl_table root_table[] = { 199static struct ctl_table root_table[] = {