aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-23 22:19:22 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-08 12:50:22 +0200
commit3eb11edc1321e14a121deeb8b18c177750226eca (patch)
tree5c88e088c30457d2984d66b01f399544fc6e32c1 /arch/x86
parent346cafecdeb17e1a0457a9e7eca239ef467b678c (diff)
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: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/setup_32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index b42f570a5a5..1e670372c19 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -406,7 +406,9 @@ void __init setup_arch(char **cmdline_p)
parse_early_param();
if (acpi_mps_check()){
+#ifdef CONFIG_X86_LOCAL_APIC
enable_local_apic = -1;
+#endif
clear_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC);
}