summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_memhotplug.c
diff options
context:
space:
mode:
authorakpm@osdl.org <akpm@osdl.org>2006-06-30 03:15:00 -0400
committerLen Brown <len.brown@intel.com>2006-06-30 03:40:01 -0400
commit0a1f1ab8de815cb63a48d24450f6b5fbb1b1f89c (patch)
tree6fe87a1d3ac7d6b5f2ec1eff8eb7c194066516bf /drivers/acpi/acpi_memhotplug.c
parentd120cfb544ed6161b9d32fb6c4648c471807ee6b (diff)
downloadlwn-0a1f1ab8de815cb63a48d24450f6b5fbb1b1f89c.tar.gz
lwn-0a1f1ab8de815cb63a48d24450f6b5fbb1b1f89c.zip
ACPI: fixup memhotplug debug message
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_memhotplug.c')
-rw-r--r--drivers/acpi/acpi_memhotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c
index 6f5e395c78af..cd57372a6729 100644
--- a/drivers/acpi/acpi_memhotplug.c
+++ b/drivers/acpi/acpi_memhotplug.c
@@ -248,7 +248,7 @@ static int acpi_memory_enable_device(struct acpi_memory_device *mem_device)
num_enabled++;
}
if (!num_enabled) {
- ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "\nadd_memory failed\n"));
+ printk(KERN_ERR PREFIX "add_memory failed\n");
mem_device->state = MEMORY_INVALID_STATE;
return -EINVAL;
}