diff options
Diffstat (limited to 'kernel/mutex-debug.h')
-rw-r--r-- | kernel/mutex-debug.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/mutex-debug.h b/kernel/mutex-debug.h index 57d527a16f9d..6dc57dd2b41c 100644 --- a/kernel/mutex-debug.h +++ b/kernel/mutex-debug.h | |||
@@ -41,7 +41,6 @@ static inline void mutex_clear_owner(struct mutex *lock) | |||
41 | do { \ | 41 | do { \ |
42 | struct mutex *l = container_of(lock, struct mutex, wait_lock); \ | 42 | struct mutex *l = container_of(lock, struct mutex, wait_lock); \ |
43 | \ | 43 | \ |
44 | DEBUG_LOCKS_WARN_ON(in_interrupt()); \ | ||
45 | local_irq_save(flags); \ | 44 | local_irq_save(flags); \ |
46 | arch_spin_lock(&(lock)->rlock.raw_lock);\ | 45 | arch_spin_lock(&(lock)->rlock.raw_lock);\ |
47 | DEBUG_LOCKS_WARN_ON(l->magic != l); \ | 46 | DEBUG_LOCKS_WARN_ON(l->magic != l); \ |