diff options
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-08-04 10:26:03 +1000 | 
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-08-04 10:26:03 +1000 | 
| commit | 412a4ac5e9cf7fdeb6af562c25547a9b9da7674f (patch) | |
| tree | a8ce13cbc9c47c99799e5e3e3ad26ba78274ee73 /arch/powerpc/mm/pgtable_32.c | |
| parent | e8e5c2155b0035b6e04f29be67f6444bc914005b (diff) | |
| parent | 0c2daaafcdec726e89cbccca61d576de8429c537 (diff) | |
| download | olio-linux-3.10-412a4ac5e9cf7fdeb6af562c25547a9b9da7674f.tar.xz olio-linux-3.10-412a4ac5e9cf7fdeb6af562c25547a9b9da7674f.zip  | |
Merge commit 'gcl/next' into next
Diffstat (limited to 'arch/powerpc/mm/pgtable_32.c')
| -rw-r--r-- | arch/powerpc/mm/pgtable_32.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c index 34347b2e7e3..a87ead0138b 100644 --- a/arch/powerpc/mm/pgtable_32.c +++ b/arch/powerpc/mm/pgtable_32.c @@ -26,7 +26,7 @@  #include <linux/vmalloc.h>  #include <linux/init.h>  #include <linux/highmem.h> -#include <linux/lmb.h> +#include <linux/memblock.h>  #include <linux/slab.h>  #include <asm/pgtable.h> @@ -198,7 +198,7 @@ __ioremap_caller(phys_addr_t addr, unsigned long size, unsigned long flags,  	 * mem_init() sets high_memory so only do the check after that.  	 */  	if (mem_init_done && (p < virt_to_phys(high_memory)) && -	    !(__allow_ioremap_reserved && lmb_is_region_reserved(p, size))) { +	    !(__allow_ioremap_reserved && memblock_is_region_reserved(p, size))) {  		printk("__ioremap(): phys addr 0x%llx is RAM lr %p\n",  		       (unsigned long long)p, __builtin_return_address(0));  		return NULL; @@ -331,7 +331,7 @@ void __init mapin_ram(void)  		s = mmu_mapin_ram(top);  		__mapin_ram_chunk(s, top); -		top = lmb_end_of_DRAM(); +		top = memblock_end_of_DRAM();  		s = wii_mmu_mapin_mem2(top);  		__mapin_ram_chunk(s, top);  	}  |