diff options
Diffstat (limited to 'arch/powerpc/mm/numa.c')
-rw-r--r-- | arch/powerpc/mm/numa.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 40c99deb691b..97e83f1d1bdb 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c | |||
@@ -423,7 +423,12 @@ static int __init parse_numa_properties(void) | |||
423 | unsigned int *memcell_buf; | 423 | unsigned int *memcell_buf; |
424 | unsigned int len; | 424 | unsigned int len; |
425 | 425 | ||
426 | memcell_buf = (unsigned int *)get_property(memory, "reg", &len); | 426 | memcell_buf = (unsigned int *)get_property(memory, |
427 | "linux,usable-memory", &len); | ||
428 | if (!memcell_buf || len <= 0) | ||
429 | memcell_buf = | ||
430 | (unsigned int *)get_property(memory, "reg", | ||
431 | &len); | ||
427 | if (!memcell_buf || len <= 0) | 432 | if (!memcell_buf || len <= 0) |
428 | continue; | 433 | continue; |
429 | 434 | ||