diff options
| author | Lv Zheng <lv.zheng@intel.com> | 2016-08-04 04:44:24 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-08-12 21:09:34 -0400 |
| commit | 556eae8bea04a8208ffb7b5a3af5bb92ebc6f1ed (patch) | |
| tree | c3aba7f2e907115067d351d557df53e832758c08 /include/acpi | |
| parent | eba4ed2046c605e5b8cafd3d2347617d866c1375 (diff) | |
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 <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/platform/acenv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index ed959e5a8955..50ae2d6900e6 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h | |||
| @@ -78,6 +78,7 @@ | |||
| 78 | (defined ACPI_EXAMPLE_APP) | 78 | (defined ACPI_EXAMPLE_APP) |
| 79 | #define ACPI_APPLICATION | 79 | #define ACPI_APPLICATION |
| 80 | #define ACPI_SINGLE_THREADED | 80 | #define ACPI_SINGLE_THREADED |
| 81 | #define USE_NATIVE_ALLOCATE_ZEROED | ||
| 81 | #endif | 82 | #endif |
| 82 | 83 | ||
| 83 | /* iASL configuration */ | 84 | /* iASL configuration */ |
| @@ -124,7 +125,6 @@ | |||
| 124 | 125 | ||
| 125 | #ifdef ACPI_DUMP_APP | 126 | #ifdef ACPI_DUMP_APP |
| 126 | #define ACPI_USE_NATIVE_MEMORY_MAPPING | 127 | #define ACPI_USE_NATIVE_MEMORY_MAPPING |
| 127 | #define USE_NATIVE_ALLOCATE_ZEROED | ||
| 128 | #endif | 128 | #endif |
| 129 | 129 | ||
| 130 | /* acpi_names/Example configuration. Hardware disabled */ | 130 | /* acpi_names/Example configuration. Hardware disabled */ |
