projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03967c5
)
lockdep: minor fix for debug_show_all_locks()
author
qinghuang feng
<qhfeng.kernel@gmail.com>
Tue, 28 Oct 2008 09:24:28 +0000
(17:24 +0800)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 28 Oct 2008 09:30:04 +0000
(10:30 +0100)
When we failed to get tasklist_lock eventually (count equals 0),
we should only print " ignoring it.\n", and not print
" locked it.\n" needlessly.
Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/lockdep.c
b/kernel/lockdep.c
index dbda475b13bd62876490fc5a523d373d72c931cd..11832acdde77739b445f11b86e2dd19fe768233f 100644
(file)
--- a/
kernel/lockdep.c
+++ b/
kernel/lockdep.c
@@
-3417,9
+3417,10
@@
retry:
}
printk(" ignoring it.\n");
unlock = 0;
+ } else {
+ if (count != 10)
+ printk(KERN_CONT " locked it.\n");
}
- if (count != 10)
- printk(" locked it.\n");
do_each_thread(g, p) {
/*