]> err.no Git - linux-2.6/commitdiff
ACPI: use ACPI_DEBUG_PRINT instead of printk in acpi_processor_hotplug_notify()
authorGlauber Costa <gcosta@redhat.com>
Tue, 4 Mar 2008 23:06:36 +0000 (15:06 -0800)
committerLen Brown <len.brown@intel.com>
Tue, 11 Mar 2008 17:40:43 +0000 (13:40 -0400)
For consistency, use ACPI_DEBUG_PRINT instead of printk in
acpi_processor_hotplug_notify() for BUS_CHECK and DEVICE_CHECK events

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_core.c

index a3cc8a98255cf724248c7efbf749a912bc9ef4f1..3501cb53857be066077663ed63f3fa2a1d670af2 100644 (file)
@@ -897,9 +897,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;