]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
panic-release-stale-console-lock-to-always-get-the-logbuf-printed-out-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Oct 2015 22:04:01 +0000 (09:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:04:01 +0000 (09:04 +1100)
tweak comment text

Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/panic.c

index f94525f601c968b4bea971b07b3357c6e0d5cb60..4579dbb7ed872a7e1c119fdbbf98d9dc8cd67a87 100644 (file)
@@ -149,10 +149,10 @@ void panic(const char *fmt, ...)
        bust_spinlocks(0);
 
        /*
-        * We may have ended up killing the CPU holding the lock and still have
-        * some valuable data in console buffer. Try to acquire the lock and
-        * release it regardless of the result. The release will also print the
-        * buffers out.
+        * We may have ended up stopping the CPU holding the lock (in
+        * smp_send_stop()) while still having some valuable data in the console
+        * buffer.  Try to acquire the lock then release it regardless of the
+        * result.  The release will also print the buffers out.
         */
        console_trylock();
        console_unlock();