ACPICA: Fix cached object deletion code.
authorLv Zheng <lv.zheng@intel.com>
Thu, 31 Oct 2013 01:31:00 +0000 (09:31 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 31 Oct 2013 13:37:34 +0000 (14:37 +0100)
commitdba47d3af92bb2e443cdb689422bf30b498bd209
treeca28d68dcb9069545368d892c15e81448f6afc02
parent2faa046485721c05ad3999bc6c8f6ced7017ef27
ACPICA: Fix cached object deletion code.

Function acpi_ut_delete_caches() is meant to be used to implement
ACPI_ALLOCATE()/ACPI_FREE() mechanisms in ACPICA, so it should call
acpi_os_free() rather than ACPI_FREE().  Linux is not affected by this
issue as it uses kmem_cache instead of the ACPICA local cache, but
the change helps to reduce source code differences between Linux and
ACPICA upstream.

[rjw: Changelog]
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/utalloc.c