aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic_32.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-14 08:58:01 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-14 08:58:01 -0400
commit51ca3c679194e7435c25b8e77b0a73c597e41ae9 (patch)
treea681dca369607ab0f371d5246b0f75140b860a8a /arch/x86/kernel/apic_32.c
parentb55793f7528ce1b73c25b3ac8a86a6cda2a0f9a4 (diff)
parentb635acec48bcaa9183fcbf4e3955616b0d4119b5 (diff)
Merge branch 'linus' into x86/core
Conflicts: arch/x86/kernel/genapic_64.c include/asm-x86/kvm_host.h 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.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 9e341c9d9414..84318edad8fb 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -1705,15 +1705,19 @@ static int __init parse_lapic_timer_c2_ok(char *arg)
1705} 1705}
1706early_param("lapic_timer_c2_ok", parse_lapic_timer_c2_ok); 1706early_param("lapic_timer_c2_ok", parse_lapic_timer_c2_ok);
1707 1707
1708static int __init apic_set_verbosity(char *str) 1708static int __init apic_set_verbosity(char *arg)
1709{ 1709{
1710 if (strcmp("debug", str) == 0) 1710 if (!arg)
1711 return -EINVAL;
1712
1713 if (strcmp(arg, "debug") == 0)
1711 apic_verbosity = APIC_DEBUG; 1714 apic_verbosity = APIC_DEBUG;
1712 else if (strcmp("verbose", str) == 0) 1715 else if (strcmp(arg, "verbose") == 0)
1713 apic_verbosity = APIC_VERBOSE; 1716 apic_verbosity = APIC_VERBOSE;
1714 return 1; 1717
1718 return 0;
1715} 1719}
1716__setup("apic=", apic_set_verbosity); 1720early_param("apic", apic_set_verbosity);
1717 1721
1718static int __init lapic_insert_resource(void) 1722static int __init lapic_insert_resource(void)
1719{ 1723{