diff --git a/kernel/lockdep.c b/kernel/lockdep.c index dbda475b13bd62876490fc5a523d373d72c931cd..11832acdde77739b445f11b86e2dd19fe768233f 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -3417,9 +3417,10 @@ void debug_show_all_locks(void) } 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) { /*