diff options
author | Len Brown <len.brown@intel.com> | 2009-06-12 20:47:50 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-06-12 20:50:39 -0400 |
commit | ab46feae865c5b96dbf5e261be8638165932bfb1 (patch) | |
tree | ec6de3d2fd9e5f3896383045fcb6c078879ed0f0 | |
parent | 4a7a16dc061e4c57bf288150f51bd4c2ace33723 (diff) |
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>
-rw-r--r-- | arch/x86/include/asm/acpi.h | 1 |
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) | |||
144 | 144 | ||
145 | #else /* !CONFIG_ACPI */ | 145 | #else /* !CONFIG_ACPI */ |
146 | 146 | ||
147 | #define acpi_disabled 1 | ||
147 | #define acpi_lapic 0 | 148 | #define acpi_lapic 0 |
148 | #define acpi_ioapic 0 | 149 | #define acpi_ioapic 0 |
149 | static inline void acpi_noirq_set(void) { } | 150 | static inline void acpi_noirq_set(void) { } |