diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-04 15:06:36 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-03-11 13:40:43 -0400 |
commit | d6f882e10442c1ea6ed5f93365f48be4cb520be7 (patch) | |
tree | 4d9ca93405ce9d93a3d4d675b0e0c56acbc5fe76 /drivers/acpi | |
parent | 96b2dd1f1fdb9a131b7f2e79e5c7b2e4282cfcbf (diff) | |
download | kernel_samsung_aries-d6f882e10442c1ea6ed5f93365f48be4cb520be7.zip kernel_samsung_aries-d6f882e10442c1ea6ed5f93365f48be4cb520be7.tar.gz kernel_samsung_aries-d6f882e10442c1ea6ed5f93365f48be4cb520be7.tar.bz2 |
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 a3cc8a9..3501cb5 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; |