diff options
Diffstat (limited to 'drivers/acpi/namespace/nsalloc.c')
-rw-r--r-- | drivers/acpi/namespace/nsalloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/namespace/nsalloc.c b/drivers/acpi/namespace/nsalloc.c index 5653a19d7172..3f94b0806ecf 100644 --- a/drivers/acpi/namespace/nsalloc.c +++ b/drivers/acpi/namespace/nsalloc.c | |||
@@ -83,7 +83,7 @@ acpi_ns_create_node ( | |||
83 | return_PTR (NULL); | 83 | return_PTR (NULL); |
84 | } | 84 | } |
85 | 85 | ||
86 | ACPI_MEM_TRACKING (acpi_gbl_memory_lists[ACPI_MEM_LIST_NSNODE].total_allocated++); | 86 | ACPI_MEM_TRACKING (acpi_gbl_ns_node_list->total_allocated++); |
87 | 87 | ||
88 | node->name.integer = name; | 88 | node->name.integer = name; |
89 | node->reference_count = 1; | 89 | node->reference_count = 1; |
@@ -151,7 +151,7 @@ acpi_ns_delete_node ( | |||
151 | } | 151 | } |
152 | } | 152 | } |
153 | 153 | ||
154 | ACPI_MEM_TRACKING (acpi_gbl_memory_lists[ACPI_MEM_LIST_NSNODE].total_freed++); | 154 | ACPI_MEM_TRACKING (acpi_gbl_ns_node_list->total_freed++); |
155 | 155 | ||
156 | /* | 156 | /* |
157 | * Detach an object if there is one then delete the node | 157 | * Detach an object if there is one then delete the node |
@@ -362,7 +362,7 @@ acpi_ns_delete_children ( | |||
362 | 362 | ||
363 | /* Now we can free this child object */ | 363 | /* Now we can free this child object */ |
364 | 364 | ||
365 | ACPI_MEM_TRACKING (acpi_gbl_memory_lists[ACPI_MEM_LIST_NSNODE].total_freed++); | 365 | ACPI_MEM_TRACKING (acpi_gbl_ns_node_list->total_freed++); |
366 | 366 | ||
367 | ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS, "Object %p, Remaining %X\n", | 367 | ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS, "Object %p, Remaining %X\n", |
368 | child_node, acpi_gbl_current_node_count)); | 368 | child_node, acpi_gbl_current_node_count)); |