aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mutex-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mutex-debug.h')
-rw-r--r--include/linux/mutex-debug.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/linux/mutex-debug.h b/include/linux/mutex-debug.h
deleted file mode 100644
index 4ac8b1977b73..000000000000
--- a/include/linux/mutex-debug.h
+++ /dev/null
@@ -1,24 +0,0 @@
1#ifndef __LINUX_MUTEX_DEBUG_H
2#define __LINUX_MUTEX_DEBUG_H
3
4#include <linux/linkage.h>
5#include <linux/lockdep.h>
6#include <linux/debug_locks.h>
7
8/*
9 * Mutexes - debugging helpers:
10 */
11
12#define __DEBUG_MUTEX_INITIALIZER(lockname) \
13 , .magic = &lockname
14
15#define mutex_init(mutex) \
16do { \
17 static struct lock_class_key __key; \
18 \
19 __mutex_init((mutex), #mutex, &__key); \
20} while (0)
21
22extern void mutex_destroy(struct mutex *lock);
23
24#endif