diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-07-13 10:02:12 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-07-13 10:02:12 +0200 |
commit | 4af358f81881e1d083a916c9269b5ac0936e180d (patch) | |
tree | c0533d3268daccb6f06f1180aa1ae8f1aac17d36 /arch/arm/mm/mmu.c | |
parent | drivers/video: use strings to specify the Freescale DIU monitor port (diff) | |
parent | drivers/video/udlfb match class, subclass, and protocol (diff) | |
download | linux-4af358f81881e1d083a916c9269b5ac0936e180d.tar.xz linux-4af358f81881e1d083a916c9269b5ac0936e180d.zip |
Merge branch 'fbdev/stable-updates'
Diffstat (limited to 'arch/arm/mm/mmu.c')
-rw-r--r-- | arch/arm/mm/mmu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index 9d9e736c2b4f..594d677b92c8 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -759,7 +759,7 @@ early_param("vmalloc", early_vmalloc); static phys_addr_t lowmem_limit __initdata = 0; -static void __init sanity_check_meminfo(void) +void __init sanity_check_meminfo(void) { int i, j, highmem = 0; @@ -1032,8 +1032,9 @@ void __init paging_init(struct machine_desc *mdesc) { void *zero_page; + memblock_set_current_limit(lowmem_limit); + build_mem_type_table(); - sanity_check_meminfo(); prepare_page_table(); map_lowmem(); devicemaps_init(mdesc); |