summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-17 13:47:24 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-17 13:47:24 +0100
commit75c44eddcb4989b85826143bc09fd3ad120abd4e (patch)
tree13136da91a17c8e3970b2201bdc1f7b412cf3989 /include/acpi
parent6621c5a69a1dac50852ef09d5cf33154a174805a (diff)
parent7919010c4224e07b871f3b5513d245cc029fcd67 (diff)
downloadlinux-stable-75c44eddcb4989b85826143bc09fd3ad120abd4e.tar.gz
linux-stable-75c44eddcb4989b85826143bc09fd3ad120abd4e.tar.bz2
linux-stable-75c44eddcb4989b85826143bc09fd3ad120abd4e.zip
Merge branch 'acpi-config'
* acpi-config: ACPI: Remove Kconfig symbol ACPI_PROCFS ACPI / APEI: Remove X86 redundant dependency for APEI GHES. ACPI: introduce CONFIG_ACPI_REDUCED_HARDWARE_ONLY
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/platform/aclinux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 008aa287c7a9..30c9a7c1af88 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -52,6 +52,12 @@
#ifdef __KERNEL__
+/* Compile for reduced hardware mode only with this kernel config */
+
+#ifdef CONFIG_ACPI_REDUCED_HARDWARE_ONLY
+#define ACPI_REDUCED_HARDWARE 1
+#endif
+
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/ctype.h>