diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-03-03 03:33:06 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-11 02:10:17 -0400 |
commit | 9146cfc82c082e5c88007e7779b02b7bcade0cf0 (patch) | |
tree | b95b2c1ba2ec9192a85473c8f76241da117befd6 /arch/powerpc/platforms/ps3 | |
parent | c9c38320e80aea06f1b5541a20be8bda508691e3 (diff) |
powerpc/ps3: Print memory hotplug errors
To help users diagnose hotpug memory problems, change the
printing of memory hotplug errors from DBG() to pr_err().
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/ps3')
-rw-r--r-- | arch/powerpc/platforms/ps3/mm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/ps3/mm.c b/arch/powerpc/platforms/ps3/mm.c index d281cc0bca71..9a2b6d948610 100644 --- a/arch/powerpc/platforms/ps3/mm.c +++ b/arch/powerpc/platforms/ps3/mm.c | |||
@@ -311,7 +311,7 @@ static int __init ps3_mm_add_memory(void) | |||
311 | result = add_memory(0, start_addr, map.r1.size); | 311 | result = add_memory(0, start_addr, map.r1.size); |
312 | 312 | ||
313 | if (result) { | 313 | if (result) { |
314 | DBG("%s:%d: add_memory failed: (%d)\n", | 314 | pr_err("%s:%d: add_memory failed: (%d)\n", |
315 | __func__, __LINE__, result); | 315 | __func__, __LINE__, result); |
316 | return result; | 316 | return result; |
317 | } | 317 | } |
@@ -322,7 +322,7 @@ static int __init ps3_mm_add_memory(void) | |||
322 | result = online_pages(start_pfn, nr_pages); | 322 | result = online_pages(start_pfn, nr_pages); |
323 | 323 | ||
324 | if (result) | 324 | if (result) |
325 | DBG("%s:%d: online_pages failed: (%d)\n", | 325 | pr_err("%s:%d: online_pages failed: (%d)\n", |
326 | __func__, __LINE__, result); | 326 | __func__, __LINE__, result); |
327 | 327 | ||
328 | return result; | 328 | return result; |