Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_ | ||||
3 | #define _LIBLOCKDEP_DEBUG_LOCKS_H_ | ||||
4 | |||||
5 | #include <stddef.h> | ||||
6 | #include <linux/compiler.h> | ||||
7 | #include <asm/bug.h> | ||||
8 | |||||
9 | #define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x) | ||||
10 | |||||
11 | extern bool debug_locks; | ||||
12 | extern bool debug_locks_silent; | ||||
13 | |||||
14 | #endif |