X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fmutex-debug.c;h=1d94160eb5326e94c0222da947b8c1ee4ee44875;hb=71fc822455ccb63a66be0b6e97a415aceb0062c6;hp=3aaa06c561deba97838d6fab2cb66229e2a3e686;hpb=f3aafa6c2535d36542a6dfc8647cd2fdb5999648;p=linux-2.6 diff --git a/kernel/mutex-debug.c b/kernel/mutex-debug.c index 3aaa06c561..1d94160eb5 100644 --- a/kernel/mutex-debug.c +++ b/kernel/mutex-debug.c @@ -79,8 +79,8 @@ void debug_mutex_unlock(struct mutex *lock) if (unlikely(!debug_locks)) return; - DEBUG_LOCKS_WARN_ON(lock->owner != current_thread_info()); DEBUG_LOCKS_WARN_ON(lock->magic != lock); + DEBUG_LOCKS_WARN_ON(lock->owner != current_thread_info()); DEBUG_LOCKS_WARN_ON(!lock->wait_list.prev && !lock->wait_list.next); DEBUG_LOCKS_WARN_ON(lock->owner != current_thread_info()); }