powerpc/mm: Move slb_addr_linit to early_init_mmu
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Wed, 17 Apr 2019 13:03:49 +0000 (18:33 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Apr 2019 13:12:39 +0000 (23:12 +1000)
commit67fda38f0d688580a916a8f829afd8edaffadfcf
tree3ed4f420774799c619ed631939c0034eafaa34f4
parent60458fba469a695a026334b364cf8adbcd5807e3
powerpc/mm: Move slb_addr_linit to early_init_mmu

Avoid #ifdef in generic code. Also enables us to do this specific to
MMU translation mode on book3s64

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/setup-common.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/tlb_nohash.c