diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-10-24 05:29:01 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-11-01 20:46:09 +0300 |
commit | 242954b5aa8e5ec84f46a84637daf08ee4247c6e (patch) | |
tree | 7fb896349b377f5f819d4050bb92eeee05598571 /arch/mips/mips-boards/generic | |
parent | 4b1c46a383aafc137bc91a0f9698bfc11e062d1b (diff) | |
download | linux-242954b5aa8e5ec84f46a84637daf08ee4247c6e.tar.xz |
[MIPS] 16K & 64K page size fixes
Derived from Peter Watkins <treestem@gmail.com>'s work.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards/generic')
-rw-r--r-- | arch/mips/mips-boards/generic/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mips-boards/generic/memory.c b/arch/mips/mips-boards/generic/memory.c index be80c5dd4a0c..eeed944e0f83 100644 --- a/arch/mips/mips-boards/generic/memory.c +++ b/arch/mips/mips-boards/generic/memory.c @@ -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))); |