diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-05 00:06:36 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-03-11 18:40:43 +0100 |
commit | d6f882e10442c1ea6ed5f93365f48be4cb520be7 (patch) | |
tree | 4d9ca93405ce9d93a3d4d675b0e0c56acbc5fe76 /drivers/acpi | |
parent | ACPI: replace remaining __FUNCTION__ occurrences (diff) | |
download | linux-d6f882e10442c1ea6ed5f93365f48be4cb520be7.tar.xz linux-d6f882e10442c1ea6ed5f93365f48be4cb520be7.zip |
ACPI: use ACPI_DEBUG_PRINT instead of printk in acpi_processor_hotplug_notify()
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index a3cc8a98255c..3501cb53857b 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c @@ -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; |