From: Thomas Gleixner Date: Mon, 26 Nov 2007 19:42:19 +0000 (+0100) Subject: x86: fix ACPI compile for LOCAL_APIC=n X-Git-Tag: v2.6.24-rc4~94^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aafab10d3f6b68150ec9fe75b1462764fd45b728;p=platform%2Fkernel%2Flinux-exynos.git x86: fix ACPI compile for LOCAL_APIC=n ACPI processor idle code references local_apic_timer_c2_ok, which is not available when LOCAL_APIC is disabled. Define local_apic_timer_c2_ok as a constant, when LOCAL_APIC=n Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/apic_32.h b/include/asm-x86/apic_32.h index 4091b33..be158b2 100644 --- a/include/asm-x86/apic_32.h +++ b/include/asm-x86/apic_32.h @@ -120,6 +120,7 @@ extern int local_apic_timer_disabled; #else /* !CONFIG_X86_LOCAL_APIC */ static inline void lapic_shutdown(void) { } +#define local_apic_timer_c2_ok 1 #endif /* !CONFIG_X86_LOCAL_APIC */