diff options
author | Reza Arbab <arbab@linux.vnet.ibm.com> | 2017-01-16 22:07:44 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-01-31 05:54:19 +0300 |
commit | 6cc27341b21a81052f36c137bc44cf55f83e46ff (patch) | |
tree | 8fbbf23d0908bd5d1a32296e8fe3412d10c4b94e /arch/powerpc/mm/pgtable-book3s64.c | |
parent | b5200ec9edf038459619fce9988842efa751a2c5 (diff) | |
download | linux-6cc27341b21a81052f36c137bc44cf55f83e46ff.tar.xz |
powerpc/mm: add radix__create_section_mapping()
Wire up memory hotplug page mapping for radix. Share the mapping
function already used by radix_init_pgtable().
Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/pgtable-book3s64.c')
-rw-r--r-- | arch/powerpc/mm/pgtable-book3s64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/pgtable-book3s64.c b/arch/powerpc/mm/pgtable-book3s64.c index 653ff6c74ebe..2b13f6b87e25 100644 --- a/arch/powerpc/mm/pgtable-book3s64.c +++ b/arch/powerpc/mm/pgtable-book3s64.c @@ -131,7 +131,7 @@ void mmu_cleanup_all(void) int create_section_mapping(unsigned long start, unsigned long end) { if (radix_enabled()) - return -ENODEV; + return radix__create_section_mapping(start, end); return hash__create_section_mapping(start, end); } |