提交 a174b30e 编写于 作者: J Jeff Dike 提交者: Linus Torvalds

[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: NJeff Dike <jdike@addtoit.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 edc0e659
...@@ -500,7 +500,7 @@ static void console_write(struct console *console, const char *string, ...@@ -500,7 +500,7 @@ static void console_write(struct console *console, const char *string,
static struct console mc_console = { .name = "mc", static struct console mc_console = { .name = "mc",
.write = console_write, .write = console_write,
.flags = CON_PRINTBUFFER | CON_ENABLED, .flags = CON_ENABLED,
.index = -1 }; .index = -1 };
static int mc_add_console(void) static int mc_add_console(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册