[PATCH] uml: eliminate doubled boot output
authorJeff Dike <jdike@addtoit.com>
Wed, 11 Jan 2006 20:17:28 +0000 (12:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 02:42:09 +0000 (18:42 -0800)
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@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/mconsole_kern.c

index be61012..e3d5765 100644 (file)
@@ -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)