Sasha Levin | 5634bd7 | 2013-06-13 18:41:17 -0400 | [diff] [blame] | 1 | #ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_ |
2 | #define _LIBLOCKDEP_DEBUG_LOCKS_H_ | ||||
3 | |||||
4 | #include <stddef.h> | ||||
5 | #include <linux/compiler.h> | ||||
6 | |||||
Ben Hutchings | bb7ea2a | 2017-05-25 12:58:37 +0000 | [diff] [blame^] | 7 | #define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x) |
Sasha Levin | 5634bd7 | 2013-06-13 18:41:17 -0400 | [diff] [blame] | 8 | |
9 | extern bool debug_locks; | ||||
10 | extern bool debug_locks_silent; | ||||
11 | |||||
12 | #endif |