From: Masami Hiramatsu Date: Wed, 17 May 2017 17:20:39 +0000 (+0900) Subject: um: console: Ignore console= option X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=745a600cf1a6230f5e3910c340dcb312b718e114;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git um: console: Ignore console= option Ignore linux kernel's console= option at uml's console option handler. Since uml's con= option is only for setting up new console, and Linux kernel's console= option specify to which console kernel output its message, we can use both option for different purpose. Signed-off-by: Masami Hiramatsu Signed-off-by: Richard Weinberger --- diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c index 7b361f36ca96..c90817b04da9 100644 --- a/arch/um/drivers/stdio_console.c +++ b/arch/um/drivers/stdio_console.c @@ -192,6 +192,9 @@ __uml_exitcall(console_exit); static int console_chan_setup(char *str) { + if (!strncmp(str, "sole=", 5)) /* console= option specifies tty */ + return 0; + line_setup(vt_conf, MAX_TTYS, &def_conf, str, "console"); return 1; }