diff options
Diffstat (limited to 'kernel/mutex.c')
-rw-r--r-- | kernel/mutex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/mutex.c b/kernel/mutex.c index 7043db21bbce..101ceeb38925 100644 --- a/kernel/mutex.c +++ b/kernel/mutex.c | |||
@@ -183,8 +183,8 @@ __mutex_lock_common(struct mutex *lock, long state __IP_DECL__) | |||
183 | 183 | ||
184 | debug_mutex_free_waiter(&waiter); | 184 | debug_mutex_free_waiter(&waiter); |
185 | 185 | ||
186 | DEBUG_WARN_ON(list_empty(&lock->held_list)); | 186 | DEBUG_LOCKS_WARN_ON(list_empty(&lock->held_list)); |
187 | DEBUG_WARN_ON(lock->owner != task->thread_info); | 187 | DEBUG_LOCKS_WARN_ON(lock->owner != task->thread_info); |
188 | 188 | ||
189 | return 0; | 189 | return 0; |
190 | } | 190 | } |
@@ -206,7 +206,7 @@ __mutex_unlock_slowpath(atomic_t *lock_count __IP_DECL__) | |||
206 | struct mutex *lock = container_of(lock_count, struct mutex, count); | 206 | struct mutex *lock = container_of(lock_count, struct mutex, count); |
207 | unsigned long flags; | 207 | unsigned long flags; |
208 | 208 | ||
209 | DEBUG_WARN_ON(lock->owner != current_thread_info()); | 209 | DEBUG_LOCKS_WARN_ON(lock->owner != current_thread_info()); |
210 | 210 | ||
211 | spin_lock_mutex(&lock->wait_lock, flags); | 211 | spin_lock_mutex(&lock->wait_lock, flags); |
212 | 212 | ||