diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-12 07:30:05 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-12 07:30:05 +0200 |
commit | 1ba89386db0a3f39590b90b5dd20d7149ae52de0 (patch) | |
tree | 7211f558d841cb40e1015d0b7527643ad55cb8e7 /kernel/printk.c | |
parent | a26929fb489188ff959b1715ee67f0c9f84405b5 (diff) | |
parent | ae94b8075a2ed58d2318ef03827b25bc844f844e (diff) |
Merge branch 'x86/core' into x86/x2apic
Diffstat (limited to 'kernel/printk.c')
-rw-r--r-- | kernel/printk.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index e2129e83fd7..625d240d7ad 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -75,6 +75,8 @@ EXPORT_SYMBOL(oops_in_progress); static DECLARE_MUTEX(console_sem); static DECLARE_MUTEX(secondary_console_sem); struct console *console_drivers; +EXPORT_SYMBOL_GPL(console_drivers); + /* * This is used for debugging the mess that is the VT code by * keeping track if we have the console semaphore held. It's @@ -121,6 +123,8 @@ struct console_cmdline static struct console_cmdline console_cmdline[MAX_CMDLINECONSOLES]; static int selected_console = -1; static int preferred_console = -1; +int console_set_on_cmdline; +EXPORT_SYMBOL(console_set_on_cmdline); /* Flag: console code may call schedule() */ static int console_may_schedule; @@ -890,6 +894,7 @@ static int __init console_setup(char *str) *s = 0; __add_preferred_console(buf, idx, options, brl_options); + console_set_on_cmdline = 1; return 1; } __setup("console=", console_setup); |