Pull video into test branch
[linux-drm-fsl-dcu.git] / arch / mips / mips-boards / generic / memory.c
index be80c5dd4a0c2861dd058984f35d9787dd75cb57..eeed944e0f83eb9c0ba5c1b09ad3b760feaa040f 100644 (file)
@@ -176,7 +176,7 @@ unsigned long __init prom_free_prom_memory(void)
                if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA)
                        continue;
 
-               addr = boot_mem_map.map[i].addr;
+               addr = PAGE_ALIGN(boot_mem_map.map[i].addr);
                while (addr < boot_mem_map.map[i].addr
                              + boot_mem_map.map[i].size) {
                        ClearPageReserved(virt_to_page(__va(addr)));