diff options
| author | 2017-09-09 16:34:41 +0100 | |
|---|---|---|
| committer | 2017-09-09 16:34:41 +0100 | |
| commit | e558bdc21ae1f0db520eccd84015e17d8a589973 (patch) | |
| tree | b436123bd52f267b8c7f361618cded3e1e4421ea /tools/include/linux/debug_locks.h | |
| parent | ARM: 8692/1: mm: abort uaccess retries upon fatal signal (diff) | |
| parent | ARM: 8691/1: Export save_stack_trace_tsk() (diff) | |
Merge branches 'fixes' and 'misc' into for-linus
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 @@ +#ifndef _LIBLOCKDEP_DEBUG_LOCKS_H_ +#define _LIBLOCKDEP_DEBUG_LOCKS_H_ + +#include <stddef.h> +#include <linux/compiler.h> +#include <asm/bug.h> + +#define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x) + +extern bool debug_locks; +extern bool debug_locks_silent; + +#endif |
