]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b8a03693ca636324518380b04e7cbcbd7f2d238
tree77c694ad28230b3714c039fe54ab5497febfd4ac
parentd82918b938338520858b0235a0b672cb6a0679c4
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