The patch titled console: console handover to preferred console has been added to the -mm tree. Its filename is console-console-handover-to-preferred-console.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: console: console handover to preferred console From: Yinghai Lu <Yinghai.Lu@xxxxxxx> Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Cc: Russell King <rmk@xxxxxxxxxxxxxxxx> Cc: Bjorn Helgaas <bjorn.helgaas@xxxxxx> Cc: Gerd Hoffmann <kraxel@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/printk.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) diff -puN kernel/printk.c~console-console-handover-to-preferred-console kernel/printk.c --- a/kernel/printk.c~console-console-handover-to-preferred-console +++ a/kernel/printk.c @@ -985,12 +985,15 @@ void register_console(struct console *co if (!(console->flags & CON_ENABLED)) return; - if (bootconsole) { + if (bootconsole && (console->flags & CON_CONSDEV)) { printk(KERN_INFO "console handover: boot [%s%d] -> real [%s%d]\n", bootconsole->name, bootconsole->index, console->name, console->index); unregister_console(bootconsole); console->flags &= ~CON_PRINTBUFFER; + } else { + printk(KERN_INFO "console [%s%d] enabled\n", + console->name, console->index); } /* _ Patches currently in -mm which might be from Yinghai.Lu@xxxxxxx are console-more-buf-for-index-parsing.patch console-console-handover-to-preferred-console.patch serial-convert-early_uart-to-earlycon-for-8250.patch serial-set-dtr-in-uart-for-kernel-serial-console.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html