powerpc/32s: Move early_mmu_init() into mmu.c
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 22 Oct 2020 06:29:41 +0000 (06:29 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 9 Dec 2020 05:46:56 +0000 (16:46 +1100)
commit068fdba10ea54b6ebc12c2b2d85020b2137316d1
treea1e0d4b03307001e8e0186ccca2597fb730d3dec
parent80007a17fc59bc2766f7d5cb2f79b4c65651504b
powerpc/32s: Move early_mmu_init() into mmu.c

early_mmu_init() is independent of MMU type and not
directly linked to tlb handling.

In a following patch, tlb.c will be restricted to HASH mmu.

Move early_mmu_init() into mmu.c which is common.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e51b5e2fe6bca623b33116403043d3a1b5eaf826.1603348103.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/book3s32/mmu.c
arch/powerpc/mm/book3s32/tlb.c