]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
printk-release-lockbuf_lock-before-calling-console_trylock_for_printk-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2014 00:43:34 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:34 +0000 (10:43 +1000)
fix have_callable_console() comment

Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/printk/printk.c

index 5077c8294b4133074e714ee4864fd69d37ef3297..ee7199b4259be6bc61a032426196bc9c081986ee 100644 (file)
@@ -1377,7 +1377,10 @@ static void zap_locks(void)
        sema_init(&console_sem, 1);
 }
 
-/* Check if we have any console registered that can be called early in boot. */
+/*
+ * Check if we have any console that is capable of printing while cpu is
+ * booting or shutting down. Requires console_sem.
+ */
 static int have_callable_console(void)
 {
        struct console *con;