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 <mhiramat@kernel.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
Masami Hiramatsu 2017-05-18 02:20:39 +09:00 коммит произвёл Richard Weinberger
Родитель 0936d4f3d5
Коммит 745a600cf1
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -192,6 +192,9 @@ __uml_exitcall(console_exit);
static int console_chan_setup(char *str) 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"); line_setup(vt_conf, MAX_TTYS, &def_conf, str, "console");
return 1; return 1;
} }