diff options
Diffstat (limited to 'kernel/rtmutex-debug.c')
| -rw-r--r-- | kernel/rtmutex-debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/rtmutex-debug.c b/kernel/rtmutex-debug.c index cb1ced6967ad..a2e7e7210f3e 100644 --- a/kernel/rtmutex-debug.c +++ b/kernel/rtmutex-debug.c | |||
| @@ -94,8 +94,10 @@ void debug_rt_mutex_print_deadlock(struct rt_mutex_waiter *waiter) | |||
| 94 | return; | 94 | return; |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | if (!debug_locks_off()) | 97 | if (!debug_locks_off()) { |
| 98 | rcu_read_unlock(); | ||
| 98 | return; | 99 | return; |
| 100 | } | ||
| 99 | 101 | ||
| 100 | printk("\n============================================\n"); | 102 | printk("\n============================================\n"); |
| 101 | printk( "[ BUG: circular locking deadlock detected! ]\n"); | 103 | printk( "[ BUG: circular locking deadlock detected! ]\n"); |
