ACPI: ia64 buildfix
Len Brown [Sun, 2 Apr 2006 04:45:39 +0000 (23:45 -0500)]
Signed-off-by: Len Brown <len.brown@intel.com>

drivers/char/agp/hp-agp.c

index 8c4c6ef..907fb66 100644 (file)
@@ -497,7 +497,7 @@ zx1_gart_probe (acpi_handle obj, u32 depth, void *context, void **ret)
                        info = buffer.pointer;
                        info->hardware_id.value[sizeof(info->hardware_id)-1] = '\0';
                        match = (strcmp(info->hardware_id.value, "HWP0001") == 0);
-                       ACPI_MEM_FREE(info);
+                       kfree(info);
                        if (match) {
                                status = hp_acpi_csr_space(handle, &sba_hpa, &length);
                                if (ACPI_SUCCESS(status))