diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-09-03 01:29:26 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-09-05 14:22:40 +1000 |
commit | ed6546bdc61b7c4bd926cebd82ba52d056fcefa1 (patch) | |
tree | 96748ab33100e3e57b5ea6be467e4cbcdae3a9da /arch/powerpc/mm/book3s64/pgtable.c | |
parent | selftests/powerpc: Add basic EEH selftest (diff) | |
download | linux-dev-ed6546bdc61b7c4bd926cebd82ba52d056fcefa1.tar.xz linux-dev-ed6546bdc61b7c4bd926cebd82ba52d056fcefa1.zip |
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
Diffstat (limited to 'arch/powerpc/mm/book3s64/pgtable.c')
-rw-r--r-- | arch/powerpc/mm/book3s64/pgtable.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/mm/book3s64/pgtable.c b/arch/powerpc/mm/book3s64/pgtable.c index 206b43ae4000..97f3be778c79 100644 --- a/arch/powerpc/mm/book3s64/pgtable.c +++ b/arch/powerpc/mm/book3s64/pgtable.c @@ -23,9 +23,6 @@ EXPORT_SYMBOL(__pmd_frag_nr); unsigned long __pmd_frag_size_shift; EXPORT_SYMBOL(__pmd_frag_size_shift); -int (*register_process_table)(unsigned long base, unsigned long page_size, - unsigned long tbl_size); - #ifdef CONFIG_TRANSPARENT_HUGEPAGE /* * This is called when relaxing access to a hugepage. It's also called in the page |