ACPI: fixup memhotplug debug message
authorakpm@osdl.org <akpm@osdl.org>
Fri, 30 Jun 2006 07:15:00 +0000 (03:15 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 30 Jun 2006 07:40:01 +0000 (03:40 -0400)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpi_memhotplug.c

index 6f5e395c78af6f009ac6bc0b79d427471ebb1273..cd57372a672942cffc5b7cfb74731ac3682494c2 100644 (file)
@@ -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;
        }