From: akpm@osdl.org Date: Fri, 30 Jun 2006 07:15:00 +0000 (-0400) Subject: ACPI: fixup memhotplug debug message X-Git-Tag: MMI-PSA29.97-13-9~48627^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a1f1ab8de815cb63a48d24450f6b5fbb1b1f89c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ACPI: fixup memhotplug debug message Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- 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; }