powerpc/mm: Rename hpte_init_lpar() and move the fallback to a header
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 Jul 2016 00:33:03 +0000 (10:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 Jul 2016 04:16:18 +0000 (14:16 +1000)
commit6364e84e855ae9a0558ac873e3ff50ecb75bb40a
treeba0706a67093e553153e233ac605b700f461260f
parent7353644fa9df875aee778a802e3d28f1e3578512
powerpc/mm: Rename hpte_init_lpar() and move the fallback to a header

hpte_init_lpar() is part of the pseries platform, so name it as such.

Move the fallback implementation for when PSERIES=n into the header,
dropping the weak implementation. The panic() is now handled by the
calling code.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/mmu-hash.h
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/platforms/pseries/lpar.c