diff options
Diffstat (limited to 'arch/powerpc/mm/numa.c')
-rw-r--r-- | arch/powerpc/mm/numa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 2863a912bcd0..da5280f8cf42 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c | |||
@@ -570,11 +570,11 @@ static void __init *careful_allocation(int nid, unsigned long size, | |||
570 | unsigned long end_pfn) | 570 | unsigned long end_pfn) |
571 | { | 571 | { |
572 | int new_nid; | 572 | int new_nid; |
573 | unsigned long ret = lmb_alloc_base(size, align, end_pfn << PAGE_SHIFT); | 573 | unsigned long ret = __lmb_alloc_base(size, align, end_pfn << PAGE_SHIFT); |
574 | 574 | ||
575 | /* retry over all memory */ | 575 | /* retry over all memory */ |
576 | if (!ret) | 576 | if (!ret) |
577 | ret = lmb_alloc_base(size, align, lmb_end_of_DRAM()); | 577 | ret = __lmb_alloc_base(size, align, lmb_end_of_DRAM()); |
578 | 578 | ||
579 | if (!ret) | 579 | if (!ret) |
580 | panic("numa.c: cannot allocate %lu bytes on node %d", | 580 | panic("numa.c: cannot allocate %lu bytes on node %d", |