Pull acpi_os_free into release branch
This commit is contained in:
@@ -146,13 +146,6 @@ void *acpi_os_allocate(acpi_size size)
|
||||
return kmalloc(size, GFP_KERNEL);
|
||||
}
|
||||
|
||||
void acpi_os_free(void *ptr)
|
||||
{
|
||||
kfree(ptr);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(acpi_os_free);
|
||||
|
||||
acpi_status acpi_os_get_root_pointer(u32 flags, struct acpi_pointer *addr)
|
||||
{
|
||||
if (efi_enabled) {
|
||||
@@ -742,7 +735,7 @@ acpi_status acpi_os_delete_semaphore(acpi_handle handle)
|
||||
|
||||
ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Deleting semaphore[%p].\n", handle));
|
||||
|
||||
acpi_os_free(sem);
|
||||
kfree(sem);
|
||||
sem = NULL;
|
||||
|
||||
return AE_OK;
|
||||
|
Reference in New Issue
Block a user