diff options
Diffstat (limited to 'include/linux/lockdep.h')
-rw-r--r-- | include/linux/lockdep.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index 9ccf0e286b2a..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> |
@@ -534,4 +538,8 @@ do { \ | |||
534 | # define might_lock_read(lock) do { } while (0) | 538 | # define might_lock_read(lock) do { } while (0) |
535 | #endif | 539 | #endif |
536 | 540 | ||
541 | #ifdef CONFIG_PROVE_RCU | ||
542 | extern void lockdep_rcu_dereference(const char *file, const int line); | ||
543 | #endif | ||
544 | |||
537 | #endif /* __LINUX_LOCKDEP_H */ | 545 | #endif /* __LINUX_LOCKDEP_H */ |