[PATCH 4/6] UML - Eliminate doubled boot output

From: Jeff Dike
Date: Sun Jan 08 2006 - 22:18:51 EST


CON_PRINTBUFFER was a bad idea for the mconsole console. It causes
the boot output to be printed twice.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>

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)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/