Commit 3eb11edc authored by Ingo Molnar's avatar Ingo Molnar

x86: build fix

fix:

arch/x86/kernel/setup_32.c:409: error: 'enable_local_apic' undeclared (first use in this function)
arch/x86/kernel/setup_32.c:409: error: (Each undeclared identifier is reported only once
arch/x86/kernel/setup_32.c:409: error: for each function it appears in.)
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 346cafec
...@@ -406,7 +406,9 @@ void __init setup_arch(char **cmdline_p) ...@@ -406,7 +406,9 @@ void __init setup_arch(char **cmdline_p)
parse_early_param(); parse_early_param();
if (acpi_mps_check()){ if (acpi_mps_check()){
#ifdef CONFIG_X86_LOCAL_APIC
enable_local_apic = -1; enable_local_apic = -1;
#endif
clear_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC); clear_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment