powerpc/mm: Introduce early_init_mmu() on 64-bit
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 Mar 2009 19:34:16 +0000 (19:34 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Mar 2009 02:47:34 +0000 (13:47 +1100)
commit757c74d298dc8438760b8dea275c4c6e0ac8a77f
tree77c694ad28230b3714c039fe54ab5497febfd4ac
parenta033a487f8ae79800a15774cb6565cbbca685fc6
powerpc/mm: Introduce early_init_mmu() on 64-bit

This moves some MMU related init code out of setup_64.c into hash_utils_64.c
and calls it early_init_mmu() and early_init_mmu_secondary(). This will
make it easier to plug in a new MMU type.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/mmu-hash64.h
arch/powerpc/include/asm/mmu.h
arch/powerpc/kernel/setup_64.c
arch/powerpc/mm/hash_utils_64.c