Эх сурвалжийг харах

ACPICA: Update compilation environment settings.

This patch updates architecture specific environment settings to reduce
source differences between Linux and ACPICA upstream.

This patch does not affect the generation of the Linux kernel binary.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Lv Zheng 12 жил өмнө
parent
commit
a4fb614ad0

+ 3 - 0
include/acpi/platform/acenv.h

@@ -147,6 +147,9 @@
 #if defined(_LINUX) || defined(__linux__)
 #if defined(_LINUX) || defined(__linux__)
 #include <acpi/platform/aclinux.h>
 #include <acpi/platform/aclinux.h>
 
 
+#elif defined(_APPLE) || defined(__APPLE__)
+#include "acmacosx.h"
+
 #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include "acfreebsd.h"
 #include "acfreebsd.h"