ACPI: #define acpi_disabled 1 for CONFIG_ACPI=n
authorLen Brown <len.brown@intel.com>
Sat, 13 Jun 2009 00:47:50 +0000 (20:47 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 13 Jun 2009 00:50:39 +0000 (20:50 -0400)
SFI will need to test acpi_disabled no matter
the value of CONFIG_ACPI.

Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/include/asm/acpi.h

index 4518dc50090380b6676074b3f2466709ddea5a4b..20d1465a2ab046d8956eec43d5f5d4d36a3bd6bb 100644 (file)
@@ -144,6 +144,7 @@ static inline unsigned int acpi_processor_cstate_check(unsigned int max_cstate)
 
 #else /* !CONFIG_ACPI */
 
+#define acpi_disabled 1
 #define acpi_lapic 0
 #define acpi_ioapic 0
 static inline void acpi_noirq_set(void) { }