From: Ingo Molnar Date: Mon, 23 Jun 2008 20:19:22 +0000 (+0200) Subject: x86: build fix X-Git-Tag: v2.6.27-rc1~1106^2~203 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eb11edc1321e14a121deeb8b18c177750226eca;p=linux-2.6 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 --- diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c index b42f570a5a..1e670372c1 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); }