x86: use disable_apic in 32bit
change the enable_local_apic to static force_enable_local_apic for 32bit Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -598,11 +598,7 @@ void __init setup_arch(char **cmdline_p)
|
||||
|
||||
if (acpi_mps_check()) {
|
||||
#ifdef CONFIG_X86_LOCAL_APIC
|
||||
#ifdef CONFIG_X86_32
|
||||
enable_local_apic = -1;
|
||||
#else
|
||||
disable_apic = 1;
|
||||
#endif
|
||||
#endif
|
||||
clear_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC);
|
||||
}
|
||||
|
Reference in New Issue
Block a user