sh: Prepare for dynamic PMB support
authorMatt Fleming <matt@console-pimps.org>
Tue, 6 Oct 2009 21:22:25 +0000 (21:22 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 10 Oct 2009 12:51:12 +0000 (21:51 +0900)
commit1f69b6af9171f50135cce8023c84d82fbf42a8f5
tree8d664d2d24f6f199e0b3af0afe18c85969a902fd
parent8bd642b17bea31f8361b61c16c8d154638414df4
sh: Prepare for dynamic PMB support

To allow the MMU to be switched between 29bit and 32bit mode at runtime
some constants need to swapped for functions that return a runtime
value.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/addrspace.h
arch/sh/include/asm/mmu.h
arch/sh/include/asm/pgtable.h
arch/sh/include/asm/pgtable_32.h
arch/sh/include/asm/scatterlist.h
arch/sh/mm/cache-sh4.c
arch/sh/mm/init.c