aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/paca.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-05-24 07:42:05 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-24 20:44:48 +1000
commitc85ab4fe33065ca1fdcac26f0c00c837fe727ba7 (patch)
treeaf548dc9c945bbb292a97542ef32b0f9d47610ed /arch/powerpc/include/asm/paca.h
parentpowerpc/xics: Include missing header (diff)
downloadlinux-dev-c85ab4fe33065ca1fdcac26f0c00c837fe727ba7.tar.xz
linux-dev-c85ab4fe33065ca1fdcac26f0c00c837fe727ba7.zip
powerpc/64s: Only set HAVE_ARCH_UNMAPPED_AREA when CONFIG_PPC_64S_HASH_MMU is set
When CONFIG_PPC_64S_HASH_MMU is not set, slice.c is not built and arch_get_unmapped_area() and arch_get_unmapped_area_topdown() are not provided because RADIX uses the generic ones. Therefore, neither set HAVE_ARCH_UNMAPPED_AREA nor HAVE_ARCH_UNMAPPED_AREA_TOPDOWN. Fixes: ab57bd7570d4 ("powerpc/mm: Move get_unmapped_area functions to slice.c") Reported-by: Laurent Dufour <ldufour@linux.ibm.com> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Tested-by: Laurent Dufour <ldufour@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/e438c6cc09f94085e56733ed2d6e84333c35292a.1653370913.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/paca.h')
0 files changed, 0 insertions, 0 deletions