aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2023-07-11 08:10:40 +0000
committerIngo Molnar <[email protected]>2023-07-11 08:17:55 +0000
commit535d0ae39185a266536a1e97ff9a8956d7fbb9df (patch)
tree4e06059c2d01ee55aad6cd1eb78d5395aaf90c66 /tools/perf/scripts/python/sctop.py
parentx86/fineibt: Poison ENDBR at +0 (diff)
downloadkernel-535d0ae39185a266536a1e97ff9a8956d7fbb9df.tar.gz
kernel-535d0ae39185a266536a1e97ff9a8956d7fbb9df.zip
x86/cfi: Only define poison_cfi() if CONFIG_X86_KERNEL_IBT=y
poison_cfi() was introduced in: 9831c6253ace ("x86/cfi: Extend ENDBR sealing to kCFI") ... but it's only ever used under CONFIG_X86_KERNEL_IBT=y, and if that option is disabled, we get: arch/x86/kernel/alternative.c:1243:13: error: ‘poison_cfi’ defined but not used [-Werror=unused-function] Guard the definition with CONFIG_X86_KERNEL_IBT. Cc: Peter Zijlstra (Intel) <[email protected]> Cc: Kees Cook <[email protected]> Cc: Sami Tolvanen <[email protected]> Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions