summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/setup_32.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-24 00:19:22 +0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 14:50:22 +0400
commit3eb11edc1321e14a121deeb8b18c177750226eca (patch)
tree5c88e088c30457d2984d66b01f399544fc6e32c1 /arch/x86/kernel/setup_32.c
parent346cafecdeb17e1a0457a9e7eca239ef467b678c (diff)
downloadlinux-3eb11edc1321e14a121deeb8b18c177750226eca.tar.xz
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/kernel/setup_32.c')
-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 b42f570a5a56..1e670372c191 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);
}