diff options
Diffstat (limited to 'kernel/mutex-debug.c')
-rw-r--r-- | kernel/mutex-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/mutex-debug.c b/kernel/mutex-debug.c index d17436cdea1b..3aaa06c561de 100644 --- a/kernel/mutex-debug.c +++ b/kernel/mutex-debug.c | |||
@@ -107,7 +107,7 @@ void debug_mutex_init(struct mutex *lock, const char *name, | |||
107 | * use of the mutex is forbidden. The mutex must not be locked when | 107 | * use of the mutex is forbidden. The mutex must not be locked when |
108 | * this function is called. | 108 | * this function is called. |
109 | */ | 109 | */ |
110 | void fastcall mutex_destroy(struct mutex *lock) | 110 | void mutex_destroy(struct mutex *lock) |
111 | { | 111 | { |
112 | DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)); | 112 | DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)); |
113 | lock->magic = NULL; | 113 | lock->magic = NULL; |