diff options
Diffstat (limited to 'kernel/printk.c')
-rw-r--r-- | kernel/printk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index 8fb01c32aa3b..028ed75d4864 100644 --- a/kernel/printk.c +++ b/kernel/printk.c | |||
@@ -121,6 +121,8 @@ struct console_cmdline | |||
121 | static struct console_cmdline console_cmdline[MAX_CMDLINECONSOLES]; | 121 | static struct console_cmdline console_cmdline[MAX_CMDLINECONSOLES]; |
122 | static int selected_console = -1; | 122 | static int selected_console = -1; |
123 | static int preferred_console = -1; | 123 | static int preferred_console = -1; |
124 | int console_set_on_cmdline; | ||
125 | EXPORT_SYMBOL(console_set_on_cmdline); | ||
124 | 126 | ||
125 | /* Flag: console code may call schedule() */ | 127 | /* Flag: console code may call schedule() */ |
126 | static int console_may_schedule; | 128 | static int console_may_schedule; |
@@ -890,6 +892,7 @@ static int __init console_setup(char *str) | |||
890 | *s = 0; | 892 | *s = 0; |
891 | 893 | ||
892 | __add_preferred_console(buf, idx, options, brl_options); | 894 | __add_preferred_console(buf, idx, options, brl_options); |
895 | console_set_on_cmdline = 1; | ||
893 | return 1; | 896 | return 1; |
894 | } | 897 | } |
895 | __setup("console=", console_setup); | 898 | __setup("console=", console_setup); |