diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-05-17 13:20:39 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2017-07-05 17:18:48 -0400 |
commit | 745a600cf1a6230f5e3910c340dcb312b718e114 (patch) | |
tree | 65032403fb21cf4fdd03b0eaef02aaaf31e4e75c | |
parent | 0936d4f3d5a3d5daf453bc341f02ba4e68cfe40e (diff) |
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>
-rw-r--r-- | arch/um/drivers/stdio_console.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); | |||
192 | 192 | ||
193 | static int console_chan_setup(char *str) | 193 | static int console_chan_setup(char *str) |
194 | { | 194 | { |
195 | if (!strncmp(str, "sole=", 5)) /* console= option specifies tty */ | ||
196 | return 0; | ||
197 | |||
195 | line_setup(vt_conf, MAX_TTYS, &def_conf, str, "console"); | 198 | line_setup(vt_conf, MAX_TTYS, &def_conf, str, "console"); |
196 | return 1; | 199 | return 1; |
197 | } | 200 | } |