aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/linux/debug_locks.h
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2017-07-25 10:44:18 +1000
committerJames Morris <james.l.morris@oracle.com>2017-07-25 10:44:18 +1000
commit53a2ebaaabc1eb8458796fec3bc1e0e80746b642 (patch)
tree9d1f9227b49392cdd2edcc01057517da4f4b09c2 /tools/include/linux/debug_locks.h
parentLSM: Remove security_task_create() hook. (diff)
parentLinux 4.13-rc2 (diff)
sync to Linus v4.13-rc2 for subsystem developers to work against
Diffstat (limited to 'tools/include/linux/debug_locks.h')
-rw-r--r--tools/include/linux/debug_locks.h13
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