search for: acpi_processor_aggregator_class

Displaying 1 result from an estimated 1 matches for "acpi_processor_aggregator_class".

2012 Feb 23
7
[PATCH 2/2] RFC: Xen pad logic
...ak; + default: + printk(KERN_WARNING "Unsupported event [0x%x]\n", event); + break; + } +} + +static int xen_acpi_pad_add(struct acpi_device *device) +{ + acpi_status status; + + strcpy(acpi_device_name(device), ACPI_PROCESSOR_AGGREGATOR_DEVICE_NAME); + strcpy(acpi_device_class(device), ACPI_PROCESSOR_AGGREGATOR_CLASS); + + status = acpi_install_notify_handler(device->handle, + ACPI_DEVICE_NOTIFY, xen_acpi_pad_notify, device); + if (ACPI_FAILURE(status)) + return -ENODEV; + + return 0; +} + +static int xen_acpi_pad_remove(struct acpi_device *device, + int type) +{ + int num_cpus = 0; + + mutex_lock(&xe...