From: Jeff Dike Date: Wed, 11 Jan 2006 20:17:28 +0000 (-0800) Subject: [PATCH] uml: eliminate doubled boot output X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a174b30e2963a02e9657f4ac69b2b500993bf0d4;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [PATCH] uml: eliminate doubled boot output CON_PRINTBUFFER was a bad idea for the mconsole console. It causes the boot output to be printed twice. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index be610125429f..e3d576567172 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c @@ -500,7 +500,7 @@ static void console_write(struct console *console, const char *string, static struct console mc_console = { .name = "mc", .write = console_write, - .flags = CON_PRINTBUFFER | CON_ENABLED, + .flags = CON_ENABLED, .index = -1 }; static int mc_add_console(void)