|
@@ -888,8 +888,8 @@ int acpi_processor_device_add(acpi_handle handle, struct acpi_device **device)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static void
|
|
|
-acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data)
|
|
|
+static void __ref acpi_processor_hotplug_notify(acpi_handle handle,
|
|
|
+ u32 event, void *data)
|
|
|
{
|
|
|
struct acpi_processor *pr;
|
|
|
struct acpi_device *device = NULL;
|
|
@@ -899,9 +899,10 @@ acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data)
|
|
|
switch (event) {
|
|
|
case ACPI_NOTIFY_BUS_CHECK:
|
|
|
case ACPI_NOTIFY_DEVICE_CHECK:
|
|
|
- printk("Processor driver received %s event\n",
|
|
|
+ ACPI_DEBUG_PRINT((ACPI_DB_INFO,
|
|
|
+ "Processor driver received %s event\n",
|
|
|
(event == ACPI_NOTIFY_BUS_CHECK) ?
|
|
|
- "ACPI_NOTIFY_BUS_CHECK" : "ACPI_NOTIFY_DEVICE_CHECK");
|
|
|
+ "ACPI_NOTIFY_BUS_CHECK" : "ACPI_NOTIFY_DEVICE_CHECK"));
|
|
|
|
|
|
if (!is_processor_present(handle))
|
|
|
break;
|