|
@@ -514,7 +514,24 @@ static struct acpi_scan_handler processor_handler = {
|
|
|
},
|
|
|
};
|
|
|
|
|
|
+static int acpi_processor_container_attach(struct acpi_device *dev,
|
|
|
+ const struct acpi_device_id *id)
|
|
|
+{
|
|
|
+ return 1;
|
|
|
+}
|
|
|
+
|
|
|
+static const struct acpi_device_id processor_container_ids[] = {
|
|
|
+ { ACPI_PROCESSOR_CONTAINER_HID, },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
+static struct acpi_scan_handler processor_container_handler = {
|
|
|
+ .ids = processor_container_ids,
|
|
|
+ .attach = acpi_processor_container_attach,
|
|
|
+};
|
|
|
+
|
|
|
void __init acpi_processor_init(void)
|
|
|
{
|
|
|
acpi_scan_add_handler_with_hotplug(&processor_handler, "processor");
|
|
|
+ acpi_scan_add_handler(&processor_container_handler);
|
|
|
}
|