Pull kmalloc into release branch
[GitHub/LineageOS/android_kernel_samsung_universal7580.git] / arch / ia64 / kernel / acpi-ext.c
index fff82929d225a7436618be9493d6bc38565fd5f6..b7515bc808a8d815708c45124661e94cc4d63286 100644 (file)
@@ -8,7 +8,6 @@
  * published by the Free Software Foundation.
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/acpi.h>
@@ -51,7 +50,7 @@ static acpi_status hp_ccsr_locate(acpi_handle obj, u64 *base, u64 *length)
        memcpy(length, vendor->byte_data + 8, sizeof(*length));
 
   exit:
-       acpi_os_free(buffer.pointer);
+       kfree(buffer.pointer);
        return status;
 }