aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/static_call.c
diff options
context:
space:
mode:
authorGravatar Breno Leitao <leitao@debian.org> 2023-11-21 08:07:37 -0800
committerGravatar Ingo Molnar <mingo@kernel.org> 2024-01-10 10:52:29 +0100
commit0911b8c52c4d68c57d02f172daa55a42bce703f0 (patch)
treeddababa7d82c5cd9ec7f79d9a1b0e9942008d1c4 /arch/x86/kernel/static_call.c
parentx86/bugs: Rename CONFIG_CPU_SRSO => CONFIG_MITIGATION_SRSO (diff)
downloadlinux-0911b8c52c4d68c57d02f172daa55a42bce703f0.tar.gz
linux-0911b8c52c4d68c57d02f172daa55a42bce703f0.tar.bz2
linux-0911b8c52c4d68c57d02f172daa55a42bce703f0.zip
x86/bugs: Rename CONFIG_RETHUNK => CONFIG_MITIGATION_RETHUNK
Step 10/10 of the namespace unification of CPU mitigations related Kconfig options. [ mingo: Added one more case. ] Suggested-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: https://lore.kernel.org/r/20231121160740.1249350-11-leitao@debian.org
Diffstat (limited to 'arch/x86/kernel/static_call.c')
-rw-r--r--arch/x86/kernel/static_call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/static_call.c b/arch/x86/kernel/static_call.c
index 77a9316da435..4eefaac64c6c 100644
--- a/arch/x86/kernel/static_call.c
+++ b/arch/x86/kernel/static_call.c
@@ -172,7 +172,7 @@ void arch_static_call_transform(void *site, void *tramp, void *func, bool tail)
}
EXPORT_SYMBOL_GPL(arch_static_call_transform);
-#ifdef CONFIG_RETHUNK
+#ifdef CONFIG_MITIGATION_RETHUNK
/*
* This is called by apply_returns() to fix up static call trampolines,
* specifically ARCH_DEFINE_STATIC_CALL_NULL_TRAMP which is recorded as