summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-27 21:52:48 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-27 21:52:48 (GMT)
commit8989e1cc35736b03948748343fb5ba42eb3bbfb8 (patch)
tree44feb210db2812c90761095c5e7411531d27ba83 /arch/x86/include
parent7e1c1a82f505e79a85a822a377bd3369e676ac2d (diff)
parent46ba51ea8f8639da32c55744b35479fdfb4e7232 (diff)
downloadlinux-8989e1cc35736b03948748343fb5ba42eb3bbfb8.tar.xz
Merge branch 'acpi-config'
* acpi-config: ACPI / processor: Introduce ARCH_MIGHT_HAVE_ACPI_PDC ACPI: Don't use acpi_lapic in ACPI core code ACPI: add config for BIOS table scan
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/acpi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/acpi.h b/arch/x86/include/asm/acpi.h
index e06225e..0ab4f9f 100644
--- a/arch/x86/include/asm/acpi.h
+++ b/arch/x86/include/asm/acpi.h
@@ -121,6 +121,11 @@ static inline void arch_acpi_set_pdc_bits(u32 *buf)
buf[2] &= ~(ACPI_PDC_C_C2C3_FFH);
}
+static inline bool acpi_has_cpu_in_madt(void)
+{
+ return !!acpi_lapic;
+}
+
#else /* !CONFIG_ACPI */
#define acpi_lapic 0