summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-08-04 11:45:32 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-08-13 04:16:39 +0300
commitd2d48eae4639f7d74e9d91e7698f566bdbd8cdd6 (patch)
tree1f1224c515b0e463a2f7269836e6f762b73bae2a
parent911a9b842874f52429d0b0a420bf0fed22117611 (diff)
downloadlinux-d2d48eae4639f7d74e9d91e7698f566bdbd8cdd6.tar.xz
ACPICA: EFI: Port acpidump to EDK2 environment
ACPICA commit 790b8bae858d6d97da6099c9f8485d4760035a0c Linux kernel is not affected by this change. Link: https://github.com/acpica/acpica/commit/790b8bae 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>
-rw-r--r--include/acpi/platform/acenv.h2
-rw-r--r--include/acpi/platform/acenvex.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h
index 3dbfa27424ea..f9af0e03e592 100644
--- a/include/acpi/platform/acenv.h
+++ b/include/acpi/platform/acenv.h
@@ -220,7 +220,7 @@
* included after including all other host environmental definitions, in
* order to override the definitions.
*/
-#elif defined(_AED_EFI) || defined(_GNU_EFI)
+#elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI)
#include "acefi.h"
#else
diff --git a/include/acpi/platform/acenvex.h b/include/acpi/platform/acenvex.h
index b6726152a300..58ca39ce16d4 100644
--- a/include/acpi/platform/acenvex.h
+++ b/include/acpi/platform/acenvex.h
@@ -67,7 +67,7 @@
* included after including all other host environmental definitions, in
* order to override the definitions.
*/
-#elif defined(_AED_EFI) || defined(_GNU_EFI)
+#elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI)
#include "acefiex.h"
#endif