aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic_32.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-08-18 12:46:00 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-18 20:07:18 -0400
commit79af9bec60e6e218a1e48e8830d603d64a7fc441 (patch)
tree9871fabc8a60004cbc9d2f487c9ee78c384b3e46 /arch/x86/kernel/apic_32.c
parent0b23e8cf553f5e706b0057363f1319867bcd1a7d (diff)
x86: apic - unify apic_set_verbosity
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_32.c')
-rw-r--r--arch/x86/kernel/apic_32.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index af227bce23b1..acbc4dea2ee8 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -1768,13 +1768,24 @@ early_param("lapic_timer_c2_ok", parse_lapic_timer_c2_ok);
1768 1768
1769static int __init apic_set_verbosity(char *arg) 1769static int __init apic_set_verbosity(char *arg)
1770{ 1770{
1771 if (!arg) 1771 if (!arg) {
1772#ifdef CONFIG_X86_64
1773 skip_ioapic_setup = 0;
1774 ioapic_force = 1;
1775 return 0;
1776#endif
1772 return -EINVAL; 1777 return -EINVAL;
1778 }
1773 1779
1774 if (strcmp(arg, "debug") == 0) 1780 if (strcmp("debug", arg) == 0)
1775 apic_verbosity = APIC_DEBUG; 1781 apic_verbosity = APIC_DEBUG;
1776 else if (strcmp(arg, "verbose") == 0) 1782 else if (strcmp("verbose", arg) == 0)
1777 apic_verbosity = APIC_VERBOSE; 1783 apic_verbosity = APIC_VERBOSE;
1784 else {
1785 printk(KERN_WARNING "APIC Verbosity level %s not recognised"
1786 " use apic=verbose or apic=debug\n", arg);
1787 return -EINVAL;
1788 }
1778 1789
1779 return 0; 1790 return 0;
1780} 1791}