diff options
author | Reza Arbab <arbab@linux.vnet.ibm.com> | 2017-01-16 13:07:44 -0600 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-01-31 13:54:19 +1100 |
commit | 6cc27341b21a81052f36c137bc44cf55f83e46ff (patch) | |
tree | 8fbbf23d0908bd5d1a32296e8fe3412d10c4b94e /arch/powerpc/include/asm/book3s/64/radix.h | |
parent | b5200ec9edf038459619fce9988842efa751a2c5 (diff) | |
download | lwn-6cc27341b21a81052f36c137bc44cf55f83e46ff.tar.gz lwn-6cc27341b21a81052f36c137bc44cf55f83e46ff.zip |
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/include/asm/book3s/64/radix.h')
-rw-r--r-- | arch/powerpc/include/asm/book3s/64/radix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/book3s/64/radix.h b/arch/powerpc/include/asm/book3s/64/radix.h index b4d1302387a3..43c25718de61 100644 --- a/arch/powerpc/include/asm/book3s/64/radix.h +++ b/arch/powerpc/include/asm/book3s/64/radix.h @@ -291,5 +291,9 @@ static inline unsigned long radix__get_tree_size(void) } return rts_field; } + +#ifdef CONFIG_MEMORY_HOTPLUG +int radix__create_section_mapping(unsigned long start, unsigned long end); +#endif /* CONFIG_MEMORY_HOTPLUG */ #endif /* __ASSEMBLY__ */ #endif |