diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-07-21 04:38:14 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-21 07:03:12 -0400 |
commit | 9175fc06aee79c349790672178d3fd7507d75c86 (patch) | |
tree | 4b83a2ef781af89040a41b2432e32c6a3ec27689 /arch/x86/kernel/apic_64.c | |
parent | 6ac8d51f01d345af5ea4209004a9ea29b2f20891 (diff) |
x86: use setup_clear_cpu_cap() when disabling the lapic
... so don't need to call clear_cpu_cap again in early_identify_cpu,
and could use cleared_cpu_caps like other places.
Signed-off-by: Yinghai Lu <yhlu.kernel@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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index 1e3d32e27c14..16e586cacbdc 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -1337,7 +1337,7 @@ early_param("apic", apic_set_verbosity); | |||
1337 | static __init int setup_disableapic(char *str) | 1337 | static __init int setup_disableapic(char *str) |
1338 | { | 1338 | { |
1339 | disable_apic = 1; | 1339 | disable_apic = 1; |
1340 | clear_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC); | 1340 | setup_clear_cpu_cap(X86_FEATURE_APIC); |
1341 | return 0; | 1341 | return 0; |
1342 | } | 1342 | } |
1343 | early_param("disableapic", setup_disableapic); | 1343 | early_param("disableapic", setup_disableapic); |