diff options
author | Dave Young <hidave.darkstar@gmail.com> | 2010-03-10 18:24:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 18:53:10 -0500 |
commit | 2edf5e49800846a2b2b6461d99cdae18067c440f (patch) | |
tree | a03fc295676a23c30ae467ba96a1efaf5762dd90 /include/linux | |
parent | 4f0e056fdebc15d3f4724ebc7bbf323158add1d7 (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 'include/linux')
-rw-r--r-- | include/linux/lockdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index 10206a87da19..a03977a96d7e 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h | |||
@@ -12,6 +12,10 @@ | |||
12 | struct task_struct; | 12 | struct task_struct; |
13 | struct lockdep_map; | 13 | struct lockdep_map; |
14 | 14 | ||
15 | /* for sysctl */ | ||
16 | extern int prove_locking; | ||
17 | extern int lock_stat; | ||
18 | |||
15 | #ifdef CONFIG_LOCKDEP | 19 | #ifdef CONFIG_LOCKDEP |
16 | 20 | ||
17 | #include <linux/linkage.h> | 21 | #include <linux/linkage.h> |