1 #ifndef __LINUX_MUTEX_DEBUG_H
2 #define __LINUX_MUTEX_DEBUG_H
4 #include <linux/linkage.h>
5 #include <linux/lockdep.h>
8 * Mutexes - debugging helpers:
11 #define __DEBUG_MUTEX_INITIALIZER(lockname) \
14 #define mutex_init(mutex) \
16 static struct lock_class_key __key; \
18 __mutex_init((mutex), #mutex, &__key); \
21 extern void FASTCALL(mutex_destroy(struct mutex *lock));