diff options
author | Len Brown <len.brown@intel.com> | 2006-06-30 03:19:10 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 03:19:10 -0400 |
commit | 02438d8771ae6a4b215938959827692026380bf9 (patch) | |
tree | cae56539e00a35770c36a1f9c03eebe65d1e9186 /drivers/acpi/utilities | |
parent | d120cfb544ed6161b9d32fb6c4648c471807ee6b (diff) |
ACPI: delete acpi_os_free(), use kfree() directly
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/utilities')
-rw-r--r-- | drivers/acpi/utilities/utalloc.c | 4 | ||||
-rw-r--r-- | drivers/acpi/utilities/utcache.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/utilities/utalloc.c b/drivers/acpi/utilities/utalloc.c index 7940fc1bd69..5cff17dc78b 100644 --- a/drivers/acpi/utilities/utalloc.c +++ b/drivers/acpi/utilities/utalloc.c | |||
@@ -166,10 +166,10 @@ acpi_status acpi_ut_delete_caches(void) | |||
166 | 166 | ||
167 | /* Free memory lists */ | 167 | /* Free memory lists */ |
168 | 168 | ||
169 | acpi_os_free(acpi_gbl_global_list); | 169 | ACPI_FREE(acpi_gbl_global_list); |
170 | acpi_gbl_global_list = NULL; | 170 | acpi_gbl_global_list = NULL; |
171 | 171 | ||
172 | acpi_os_free(acpi_gbl_ns_node_list); | 172 | ACPI_FREE(acpi_gbl_ns_node_list); |
173 | acpi_gbl_ns_node_list = NULL; | 173 | acpi_gbl_ns_node_list = NULL; |
174 | #endif | 174 | #endif |
175 | 175 | ||
diff --git a/drivers/acpi/utilities/utcache.c b/drivers/acpi/utilities/utcache.c index 56270a30718..1a1f8109159 100644 --- a/drivers/acpi/utilities/utcache.c +++ b/drivers/acpi/utilities/utcache.c | |||
@@ -162,7 +162,7 @@ acpi_status acpi_os_delete_cache(struct acpi_memory_list * cache) | |||
162 | 162 | ||
163 | /* Now we can delete the cache object */ | 163 | /* Now we can delete the cache object */ |
164 | 164 | ||
165 | acpi_os_free(cache); | 165 | ACPI_FREE(cache); |
166 | return (AE_OK); | 166 | return (AE_OK); |
167 | } | 167 | } |
168 | 168 | ||