Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1632777
| From | Masami Hiramatsu <mhiramat@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC PATCH 7/7] um: console: Ignore console= option |
| Date | 2017-04-28 12:30 +0200 |
| Message-ID | <tBbjX-614-5@gated-at.bofh.it> (permalink) |
| References | <tBbjX-614-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
arch/um/drivers/stdio_console.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c
index 7b361f3..43b12a5 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)) /* This may passed to tty */
+ return 0;
+
line_setup(vt_conf, MAX_TTYS, &def_conf, str, "console");
return 1;
}
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[RFC PATCH 7/7] um: console: Ignore console= option Masami Hiramatsu <mhiramat@kernel.org> - 2017-04-28 12:30 +0200
csiph-web