From 3eb11edc1321e14a121deeb8b18c177750226eca Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Mon, 23 Jun 2008 22:19:22 +0200 Subject: 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 --- arch/x86/kernel/setup_32.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- cgit v1.2.3