]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Cleanup memory allocation macros and configurability.
authorLv Zheng <lv.zheng@intel.com>
Tue, 29 Oct 2013 01:29:27 +0000 (09:29 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Oct 2013 11:24:21 +0000 (12:24 +0100)
commit03e2cc59a8a5eb7e7eaa1684e176f948574f1099
treef354d1d0a7a01d40345b155e3d271ca9275adb09
parent0f89c17fbd9d441e16730a85d251535d840df0ae
ACPICA: Cleanup memory allocation macros and configurability.

In the common case, the ACPI_ALLOCATE and related macros now resolve
directly to their respective acpi_os* OSL interfaces. Two options:
1) The ACPI_ALLOCATE_ZEROED macro defaults to a simple local implementation
   by default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
2) For ACPI execution simulation environment (AcpiExec) which is not
   shipped with the Linux kernel, the macros can optionally be resolved to
   the local interfaces that track each allocation (used to immediately
   detect memory leaks).

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>
drivers/acpi/acpica/acmacros.h
drivers/acpi/acpica/acutils.h
drivers/acpi/acpica/utalloc.c
drivers/acpi/acpica/uttrack.c
include/acpi/acpiosxf.h
include/acpi/acpixf.h
include/acpi/actypes.h
include/acpi/platform/aclinux.h