Преглед изворни кода

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>
Len Brown пре 16 година
родитељ
комит
ab46feae86
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      arch/x86/include/asm/acpi.h

+ 1 - 0
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) { }