From: Lv Zheng Date: Thu, 4 Aug 2016 08:44:24 +0000 (+0800) Subject: ACPICA: Applications: Enable USE_NATIVE_ALLOCATE_ZEROED environment for all applications X-Git-Tag: v4.9-rc1~170^2~4^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=556eae8bea04a8208ffb7b5a3af5bb92ebc6f1ed;p=thirdparty%2Fkernel%2Flinux.git ACPICA: Applications: Enable USE_NATIVE_ALLOCATE_ZEROED environment for all applications ACPICA commit 56920e2093d612ac6338dd8eb0fa89231446198f We now safe to enable USE_NATIVE_ALLOCATE_ZEROED for all applications as there are implementations in oswinxf.c, osunixxf.c and osefixf.c. Lv Zheng. Link: https://github.com/acpica/acpica/commit/56920e20 Signed-off-by: Lv Zheng Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki --- diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index ed959e5a89559..50ae2d6900e62 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h @@ -78,6 +78,7 @@ (defined ACPI_EXAMPLE_APP) #define ACPI_APPLICATION #define ACPI_SINGLE_THREADED +#define USE_NATIVE_ALLOCATE_ZEROED #endif /* iASL configuration */ @@ -124,7 +125,6 @@ #ifdef ACPI_DUMP_APP #define ACPI_USE_NATIVE_MEMORY_MAPPING -#define USE_NATIVE_ALLOCATE_ZEROED #endif /* acpi_names/Example configuration. Hardware disabled */