aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-03-15 14:52:51 +0000
committerMichael Ellerman <[email protected]>2021-03-29 13:22:15 +1100
commit98c26a72751ecb2ed247cdfd6cb2385f37195707 (patch)
treea70dfcd35e09bcf329e8d57f52b207a16b22ce67 /tools/perf/scripts/python/check-perf-trace.py
parentb77878052a142737522e0e3c2a621c988a4cd7cd (diff)
powerpc/mm: Remove unneeded #ifdef CONFIG_PPC_MEM_KEYS
In fault.c, #ifdef CONFIG_PPC_MEM_KEYS is not needed because all functions are always defined, and arch_vma_access_permitted() always returns true when CONFIG_PPC_MEM_KEYS is not defined so access_pkey_error() will return false so bad_access_pkey() will never be called. Include linux/pkeys.h to get a definition of vma_pkeys() for bad_access_pkey(). Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/8038392f38d81f2ad169347efac29146f553b238.1615819955.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions