]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: fix ACPI compile for LOCAL_APIC=n
authorThomas Gleixner <tglx@linutronix.de>
Mon, 26 Nov 2007 19:42:19 +0000 (20:42 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Nov 2007 19:42:19 +0000 (20:42 +0100)
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 <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/apic_32.h

index 4091b33dcb10f28cfbd1ae1013b3477e2512e742..be158b27d54b38854f8c63d713daa83fbdaa3954 100644 (file)
@@ -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 */