projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[POWERPC] ps3: always make sure we're running on a PS3
[powerpc.git]
/
arch
/
powerpc
/
platforms
/
ps3
/
mm.c
diff --git
a/arch/powerpc/platforms/ps3/mm.c
b/arch/powerpc/platforms/ps3/mm.c
index
42354de
..
2014d2b
100644
(file)
--- a/
arch/powerpc/platforms/ps3/mm.c
+++ b/
arch/powerpc/platforms/ps3/mm.c
@@
-294,7
+294,7
@@
static int __init ps3_mm_add_memory(void)
unsigned long nr_pages;
if (!firmware_has_feature(FW_FEATURE_PS3_LV1))
- return
0
;
+ return
-ENODEV
;
BUG_ON(!mem_init_done);