Skip to content

Commit

Permalink
ACPI: #define acpi_disabled 1 for CONFIG_ACPI=n
Browse files Browse the repository at this point in the history
SFI will need to test acpi_disabled no matter
the value of CONFIG_ACPI.

Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Len Brown committed Jun 13, 2009
1 parent 4a7a16d commit ab46fea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/include/asm/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) { }
Expand Down

0 comments on commit ab46fea

Please sign in to comment.