提交 9146cfc8 编写于 作者: G Geoff Levand 提交者: Benjamin Herrenschmidt

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: NGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 c9c38320
......@@ -311,7 +311,7 @@ static int __init ps3_mm_add_memory(void)
result = add_memory(0, start_addr, map.r1.size);
if (result) {
DBG("%s:%d: add_memory failed: (%d)\n",
pr_err("%s:%d: add_memory failed: (%d)\n",
__func__, __LINE__, result);
return result;
}
......@@ -322,7 +322,7 @@ static int __init ps3_mm_add_memory(void)
result = online_pages(start_pfn, nr_pages);
if (result)
DBG("%s:%d: online_pages failed: (%d)\n",
pr_err("%s:%d: online_pages failed: (%d)\n",
__func__, __LINE__, result);
return result;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册