|
@@ -42,6 +42,7 @@
|
|
*/
|
|
*/
|
|
|
|
|
|
#include <acpi/acpi.h>
|
|
#include <acpi/acpi.h>
|
|
|
|
+#include <acpi/acdebug.h>
|
|
|
|
|
|
#define _COMPONENT ACPI_UTILITIES
|
|
#define _COMPONENT ACPI_UTILITIES
|
|
ACPI_MODULE_NAME("utalloc")
|
|
ACPI_MODULE_NAME("utalloc")
|
|
@@ -142,6 +143,14 @@ acpi_status acpi_ut_create_caches(void)
|
|
|
|
|
|
acpi_status acpi_ut_delete_caches(void)
|
|
acpi_status acpi_ut_delete_caches(void)
|
|
{
|
|
{
|
|
|
|
+#ifdef ACPI_DBG_TRACK_ALLOCATIONS
|
|
|
|
+ char buffer[7];
|
|
|
|
+
|
|
|
|
+ if (acpi_gbl_display_final_mem_stats) {
|
|
|
|
+ ACPI_STRCPY(buffer, "MEMORY");
|
|
|
|
+ acpi_db_display_statistics(buffer);
|
|
|
|
+ }
|
|
|
|
+#endif
|
|
|
|
|
|
(void)acpi_os_delete_cache(acpi_gbl_namespace_cache);
|
|
(void)acpi_os_delete_cache(acpi_gbl_namespace_cache);
|
|
acpi_gbl_namespace_cache = NULL;
|
|
acpi_gbl_namespace_cache = NULL;
|