summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-02-08 09:42:53 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-11 00:30:25 +0100
commit9036f600fbdfdc71a37adf88cd83f9383f8c929d (patch)
tree374e9d7bd29c8e213aab32bd8f71da938e4287b7 /include/acpi
parent3334861b1e9947631230b573eba27bcd778b93c8 (diff)
ACPICA: Add support for extra, optional OS-specific header file.
If OSPMs have something should appear after actypes.h to reference type definitions, the platform/acxxx.h is not sufficient as it is included by platform/acenv.h before including actypes.h. This patch introduces an OSPMs declarable headers to allow OSPMs to handle such requirement for their own purposes. This kind of header can also be used by Linux to collect the divergences that haven't been back ported yet. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/acpi/acpi.h b/include/acpi/acpi.h
index a544d3e4b1d..ca0cb603b17 100644
--- a/include/acpi/acpi.h
+++ b/include/acpi/acpi.h
@@ -62,5 +62,8 @@
#include <acpi/acrestyp.h> /* Resource Descriptor structs */
#include <acpi/acpiosxf.h> /* OSL interfaces (ACPICA-to-OS) */
#include <acpi/acpixf.h> /* ACPI core subsystem external interfaces */
+#ifdef ACPI_NATIVE_INTERFACE_HEADER
+#include ACPI_NATIVE_INTERFACE_HEADER
+#endif
#endif /* __ACPI_H__ */