summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/ps3/mm.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-07-14 17:27:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-07-14 17:27:44 -0700
commit6f7dd68b755b215deda5188a2c13c00f4776ea66 (patch)
tree2a63c972ac89d7ae290910d5c6b1c6300ccbafd5 /arch/powerpc/platforms/ps3/mm.c
parentea4c1a7e14051e2ba81fc7dc02e3d55bfb2d7548 (diff)
parent95f72d1ed41a66f1c1c29c24d479de81a0bea36f (diff)
downloadtalos-op-linux-6f7dd68b755b215deda5188a2c13c00f4776ea66.tar.gz
talos-op-linux-6f7dd68b755b215deda5188a2c13c00f4776ea66.zip
Merge branch 'lmb-to-memblock' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'lmb-to-memblock' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: lmb: rename to memblock
Diffstat (limited to 'arch/powerpc/platforms/ps3/mm.c')
-rw-r--r--arch/powerpc/platforms/ps3/mm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/ps3/mm.c b/arch/powerpc/platforms/ps3/mm.c
index 7925751e464a..c2045880e674 100644
--- a/arch/powerpc/platforms/ps3/mm.c
+++ b/arch/powerpc/platforms/ps3/mm.c
@@ -21,7 +21,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/memory_hotplug.h>
-#include <linux/lmb.h>
+#include <linux/memblock.h>
#include <linux/slab.h>
#include <asm/cell-regs.h>
@@ -318,8 +318,8 @@ static int __init ps3_mm_add_memory(void)
return result;
}
- lmb_add(start_addr, map.r1.size);
- lmb_analyze();
+ memblock_add(start_addr, map.r1.size);
+ memblock_analyze();
result = online_pages(start_pfn, nr_pages);
OpenPOWER on IntegriCloud