]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
5634bd7d SL |
2 | #ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_ |
3 | #define _LIBLOCKDEP_DEBUG_LOCKS_H_ | |
4 | ||
5 | #include <stddef.h> | |
6 | #include <linux/compiler.h> | |
e58e871b | 7 | #include <asm/bug.h> |
5634bd7d | 8 | |
bb7ea2a9 | 9 | #define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x) |
5634bd7d SL |
10 | |
11 | extern bool debug_locks; | |
12 | extern bool debug_locks_silent; | |
13 | ||
14 | #endif |