projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0119fee
)
rtmutex: Add missing rcu_read_unlock() in debug_rt_mutex_print_deadlock()
author
Thomas Gleixner
<tglx@linutronix.de>
Wed, 5 Oct 2011 11:20:24 +0000
(13:20 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Wed, 5 Oct 2011 11:20:24 +0000
(13:20 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/rtmutex-debug.c
patch
|
blob
|
history
diff --git
a/kernel/rtmutex-debug.c
b/kernel/rtmutex-debug.c
index cb1ced6967ad539508db0c6a0b732b9c23ff89cc..a2e7e7210f3e733b8b427b762b224a4c380e9ae6 100644
(file)
--- 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)
return;
}
- if (!debug_locks_off())
+ if (!debug_locks_off()) {
+ rcu_read_unlock();
return;
+ }
printk("\n============================================\n");
printk( "[ BUG: circular locking deadlock detected! ]\n");