diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-04 18:06:36 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-03-11 13:40:43 -0400 |
commit | d6f882e10442c1ea6ed5f93365f48be4cb520be7 (patch) | |
tree | 4d9ca93405ce9d93a3d4d675b0e0c56acbc5fe76 | |
parent | 96b2dd1f1fdb9a131b7f2e79e5c7b2e4282cfcbf (diff) |
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>
-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) | |||
897 | switch (event) { | 897 | switch (event) { |
898 | case ACPI_NOTIFY_BUS_CHECK: | 898 | case ACPI_NOTIFY_BUS_CHECK: |
899 | case ACPI_NOTIFY_DEVICE_CHECK: | 899 | case ACPI_NOTIFY_DEVICE_CHECK: |
900 | printk("Processor driver received %s event\n", | 900 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
901 | "Processor driver received %s event\n", | ||
901 | (event == ACPI_NOTIFY_BUS_CHECK) ? | 902 | (event == ACPI_NOTIFY_BUS_CHECK) ? |
902 | "ACPI_NOTIFY_BUS_CHECK" : "ACPI_NOTIFY_DEVICE_CHECK"); | 903 | "ACPI_NOTIFY_BUS_CHECK" : "ACPI_NOTIFY_DEVICE_CHECK")); |
903 | 904 | ||
904 | if (!is_processor_present(handle)) | 905 | if (!is_processor_present(handle)) |
905 | break; | 906 | break; |