projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c3832
)
powerpc/ps3: Print memory hotplug errors
author
Geoff Levand
<
[email protected]
>
Tue, 3 Mar 2009 08:33:06 +0000
(08:33 +0000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Wed, 11 Mar 2009 06:10:17 +0000
(17:10 +1100)
To help users diagnose hotpug memory problems, change the
printing of memory hotplug errors from DBG() to pr_err().
Signed-off-by: Geoff Levand <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/platforms/ps3/mm.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/ps3/mm.c
b/arch/powerpc/platforms/ps3/mm.c
index d281cc0bca712fd24553ca34b9477d5c8e47b68e..9a2b6d948610c003485e38ded9e561f6514760fa 100644
(file)
--- 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)
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;