aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/opal-memory-errors.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-04-09 19:17:32 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-05 22:11:57 +1000
commit76a345ed16c63df9b02d3e374e8d5e39471174ad (patch)
tree14ac614eba45ca300626000b1e8ca0c54bbc7a05 /arch/powerpc/platforms/powernv/opal-memory-errors.c
parentf693d38d9468101587175b1e62d7e4483b51d8f5 (diff)
downloadlinux-76a345ed16c63df9b02d3e374e8d5e39471174ad.tar.gz
linux-76a345ed16c63df9b02d3e374e8d5e39471174ad.tar.bz2
linux-76a345ed16c63df9b02d3e374e8d5e39471174ad.zip
powerpc/mm: Use generic_get_unmapped_area() and call it from arch_get_unmapped_area()
Use the generic version of arch_get_unmapped_area() which is now available at all time instead of its copy radix__arch_get_unmapped_area() To allow that for PPC64, add arch_get_mmap_base() and arch_get_mmap_end() macros. Instead of setting mm->get_unmapped_area() to either arch_get_unmapped_area() or generic_get_unmapped_area(), always set it to arch_get_unmapped_area() and call generic_get_unmapped_area() from there when radix is enabled. Do the same with radix__arch_get_unmapped_area_topdown() Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/393be1fa386446443682fdb74544d733f68ef3bb.1649523076.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-memory-errors.c')
0 files changed, 0 insertions, 0 deletions