2006-01-09 03:19:22

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 4/6] 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 <[email protected]>

Index: linux-2.6.15/arch/um/drivers/mconsole_kern.c
===================================================================
--- linux-2.6.15.orig/arch/um/drivers/mconsole_kern.c 2006-01-06 20:49:21.000000000 -0500
+++ linux-2.6.15/arch/um/drivers/mconsole_kern.c 2006-01-06 20:49:48.000000000 -0500
@@ -500,7 +500,7 @@ static void console_write(struct console

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)