diff options
Diffstat (limited to 'include/linux/mutex.h')
-rw-r--r-- | include/linux/mutex.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mutex.h b/include/linux/mutex.h index f1ac507fa20d..caafecd5e366 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h | |||
@@ -50,8 +50,6 @@ struct mutex { | |||
50 | struct list_head wait_list; | 50 | struct list_head wait_list; |
51 | #ifdef CONFIG_DEBUG_MUTEXES | 51 | #ifdef CONFIG_DEBUG_MUTEXES |
52 | struct thread_info *owner; | 52 | struct thread_info *owner; |
53 | struct list_head held_list; | ||
54 | unsigned long acquire_ip; | ||
55 | const char *name; | 53 | const char *name; |
56 | void *magic; | 54 | void *magic; |
57 | #endif | 55 | #endif |
@@ -76,10 +74,6 @@ struct mutex_waiter { | |||
76 | # define __DEBUG_MUTEX_INITIALIZER(lockname) | 74 | # define __DEBUG_MUTEX_INITIALIZER(lockname) |
77 | # define mutex_init(mutex) __mutex_init(mutex, NULL) | 75 | # define mutex_init(mutex) __mutex_init(mutex, NULL) |
78 | # define mutex_destroy(mutex) do { } while (0) | 76 | # define mutex_destroy(mutex) do { } while (0) |
79 | # define mutex_debug_show_all_locks() do { } while (0) | ||
80 | # define mutex_debug_show_held_locks(p) do { } while (0) | ||
81 | # define mutex_debug_check_no_locks_held(task) do { } while (0) | ||
82 | # define mutex_debug_check_no_locks_freed(from, len) do { } while (0) | ||
83 | #endif | 77 | #endif |
84 | 78 | ||
85 | #define __MUTEX_INITIALIZER(lockname) \ | 79 | #define __MUTEX_INITIALIZER(lockname) \ |