return ret;
}
-static int xen_acpi_processor_remove(struct acpi_device *device, int type)
+static int xen_acpi_processor_remove(struct acpi_device *device)
{
struct acpi_processor *pr;
if (acpi_bus_get_device(phandle, &pdev))
return -ENODEV;
- if (acpi_bus_add(device, pdev, handle, ACPI_BUS_TYPE_PROCESSOR))
+ if (acpi_bus_scan(handle))
return -ENODEV;
return 0;