summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-06-13 02:47:50 +0200
committerLen Brown <len.brown@intel.com>2009-06-13 02:50:39 +0200
commitab46feae865c5b96dbf5e261be8638165932bfb1 (patch)
treeec6de3d2fd9e5f3896383045fcb6c078879ed0f0 /arch
parentACPI: move declaration acpi_early_init() to acpi.h (diff)
downloadlinux-ab46feae865c5b96dbf5e261be8638165932bfb1.tar.xz
linux-ab46feae865c5b96dbf5e261be8638165932bfb1.zip
ACPI: #define acpi_disabled 1 for CONFIG_ACPI=n
SFI will need to test acpi_disabled no matter the value of CONFIG_ACPI. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/acpi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/acpi.h b/arch/x86/include/asm/acpi.h
index 4518dc500903..20d1465a2ab0 100644
--- a/arch/x86/include/asm/acpi.h
+++ b/arch/x86/include/asm/acpi.h
@@ -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) { }