aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lockdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/lockdep.h')
-rw-r--r--include/linux/lockdep.h8
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 @@
12struct task_struct; 12struct task_struct;
13struct lockdep_map; 13struct lockdep_map;
14 14
15/* for sysctl */
16extern int prove_locking;
17extern 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
542extern void lockdep_rcu_dereference(const char *file, const int line);
543#endif
544
537#endif /* __LINUX_LOCKDEP_H */ 545#endif /* __LINUX_LOCKDEP_H */