diff options
Diffstat (limited to 'tools/include/linux/debug_locks.h')
| -rw-r--r-- | tools/include/linux/debug_locks.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/include/linux/debug_locks.h b/tools/include/linux/debug_locks.h new file mode 100644 index 000000000000..61cc7f501168 --- /dev/null +++ b/tools/include/linux/debug_locks.h | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | #ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_ | ||
| 2 | #define _LIBLOCKDEP_DEBUG_LOCKS_H_ | ||
| 3 | |||
| 4 | #include <stddef.h> | ||
| 5 | #include <linux/compiler.h> | ||
| 6 | #include <asm/bug.h> | ||
| 7 | |||
| 8 | #define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x) | ||
| 9 | |||
| 10 | extern bool debug_locks; | ||
| 11 | extern bool debug_locks_silent; | ||
| 12 | |||
| 13 | #endif | ||
