summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorakpm@osdl.org <akpm@osdl.org>2006-06-30 09:15:00 +0200
committerLen Brown <len.brown@intel.com>2006-06-30 09:40:01 +0200
commit0a1f1ab8de815cb63a48d24450f6b5fbb1b1f89c (patch)
tree6fe87a1d3ac7d6b5f2ec1eff8eb7c194066516bf /drivers/acpi
parentmerge linus into release branch (diff)
downloadlinux-0a1f1ab8de815cb63a48d24450f6b5fbb1b1f89c.tar.xz
linux-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')
-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;
}