Skip to content

Commit 9146cfc

Browse files
Geoff Levandozbenh
authored andcommitted
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>
1 parent c9c3832 commit 9146cfc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • arch/powerpc/platforms/ps3

‎arch/powerpc/platforms/ps3/mm.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ static int __init ps3_mm_add_memory(void)
311311
result = add_memory(0, start_addr, map.r1.size);
312312

313313
if (result) {
314-
DBG("%s:%d: add_memory failed: (%d)\n",
314+
pr_err("%s:%d: add_memory failed: (%d)\n",
315315
__func__, __LINE__, result);
316316
return result;
317317
}
@@ -322,7 +322,7 @@ static int __init ps3_mm_add_memory(void)
322322
result = online_pages(start_pfn, nr_pages);
323323

324324
if (result)
325-
DBG("%s:%d: online_pages failed: (%d)\n",
325+
pr_err("%s:%d: online_pages failed: (%d)\n",
326326
__func__, __LINE__, result);
327327

328328
return result;

0 commit comments

Comments
 (0)