summaryrefslogtreecommitdiff
path: root/include/linux/debug_locks.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/debug_locks.h')
-rw-r--r--include/linux/debug_locks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/debug_locks.h b/include/linux/debug_locks.h
index 257ab3c92cb8..b9718692460d 100644
--- a/include/linux/debug_locks.h
+++ b/include/linux/debug_locks.h
@@ -7,6 +7,7 @@
#include <linux/bug.h>
struct task_struct;
+struct lock_class_key;
extern int debug_locks __read_mostly;
extern int debug_locks_silent __read_mostly;
@@ -53,6 +54,7 @@ extern void debug_show_all_locks(void);
extern void debug_show_held_locks(struct task_struct *task);
extern void debug_check_no_locks_freed(const void *from, unsigned long len);
extern void debug_check_no_locks_held(void);
+void debug_check_lock_not_held(struct lock_class_key *);
#else
static inline void debug_show_all_locks(void)
{