summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-10-28 14:59:15 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-10-29 11:10:43 +1100
commitf8c0e36b48e32b14bb83332d24e0646acd31d9e9 (patch)
tree87d8109d37ec981a5b5164ae6d0c4f212501e712 /tools/perf/util/c++/clang.cpp
parent5b9f69ffa6b4a791d43c0fb28a0d9de3966dcb73 (diff)
downloadlinux-f8c0e36b48e32b14bb83332d24e0646acd31d9e9.tar.gz
linux-f8c0e36b48e32b14bb83332d24e0646acd31d9e9.tar.bz2
linux-f8c0e36b48e32b14bb83332d24e0646acd31d9e9.zip
powerpc: Don't provide __kernel_map_pages() without ARCH_SUPPORTS_DEBUG_PAGEALLOC
When ARCH_SUPPORTS_DEBUG_PAGEALLOC is not selected, the user can still select CONFIG_DEBUG_PAGEALLOC in which case __kernel_map_pages() is provided by mm/page_poison.c So only define __kernel_map_pages() when both CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC and CONFIG_DEBUG_PAGEALLOC are defined. Fixes: 68b44f94d637 ("powerpc/booke: Disable STRICT_KERNEL_RWX, DEBUG_PAGEALLOC and KFENCE") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/971b69739ff4746252e711a9845210465c023a9e.1635425947.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions