powerpc/64s: remove register_process_table callback
authorNicholas Piggin <npiggin@gmail.com>
Mon, 2 Sep 2019 15:29:26 +0000 (01:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 Sep 2019 04:22:40 +0000 (14:22 +1000)
commited6546bdc61b7c4bd926cebd82ba52d056fcefa1
tree96748ab33100e3e57b5ea6be467e4cbcdae3a9da
parent85d86c8aa52eb5b3539eebe3adcc2f077118b412
powerpc/64s: remove register_process_table callback

This callback is only required because the partition table init comes
before process table allocation on powernv (aka bare metal aka native).

Change the order to allocate the process table first, and remove the
callback.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190902152931.17840-2-npiggin@gmail.com
arch/powerpc/include/asm/book3s/64/mmu.h
arch/powerpc/mm/book3s64/hash_utils.c
arch/powerpc/mm/book3s64/pgtable.c
arch/powerpc/mm/book3s64/radix_pgtable.c
arch/powerpc/platforms/pseries/lpar.c