소스 검색

[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 <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Jeff Dike 19 년 전
부모
커밋
a174b30e29
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      arch/um/drivers/mconsole_kern.c

+ 1 - 1
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",
 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)