aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/linux/debug_locks.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-08-04 16:49:38 +0200
committerTakashi Iwai <tiwai@suse.de>2017-08-04 16:50:18 +0200
commit74be62c7cefbf320e0605f3da6639ef80448ff00 (patch)
treeea45fa2e0b343b792a03a66058b26a8d3e736787 /tools/include/linux/debug_locks.h
parentALSA: hda: constify pci_device_id. (diff)
parentMerge tag 'asoc-fix-v4.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus (diff)
Merge branch 'for-linus' into for-next
Back-merge 4.13-rc devel branch for later development. Signed-off-by: Takashi Iwai <tiwai@suse.de>
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