diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-08-18 16:46:01 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-19 00:07:19 (GMT) |
commit | 789fa735712d726b5cfa5c6be57171b5637a4872 (patch) | |
tree | f32280337a8c22efaca027c489e809c451d98e97 /arch/x86/kernel/apic_64.c | |
parent | 79af9bec60e6e218a1e48e8830d603d64a7fc441 (diff) | |
download | linux-fsl-qoriq-789fa735712d726b5cfa5c6be57171b5637a4872.tar.xz |
x86: apic - unify disableapic and nolapic setup handlers
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_64.c')
-rw-r--r-- | arch/x86/kernel/apic_64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index 9997818..7a31718 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c @@ -1759,7 +1759,7 @@ early_param("nox2apic", setup_nox2apic); /* * APIC command line parameters */ -static __init int setup_disableapic(char *str) +static int __init setup_disableapic(char *arg) { disable_apic = 1; setup_clear_cpu_cap(X86_FEATURE_APIC); @@ -1768,9 +1768,9 @@ static __init int setup_disableapic(char *str) early_param("disableapic", setup_disableapic); /* same as disableapic, for compatibility */ -static __init int setup_nolapic(char *str) +static int __init setup_nolapic(char *arg) { - return setup_disableapic(str); + return setup_disableapic(arg); } early_param("nolapic", setup_nolapic); |