mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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
This commit is contained in:
committed by
Ingo Molnar
parent
a033eec9a0
commit
0911b8c52c
@@ -3980,7 +3980,7 @@ static int validate_retpoline(struct objtool_file *file)
|
||||
|
||||
if (insn->type == INSN_RETURN) {
|
||||
if (opts.rethunk) {
|
||||
WARN_INSN(insn, "'naked' return found in RETHUNK build");
|
||||
WARN_INSN(insn, "'naked' return found in MITIGATION_RETHUNK build");
|
||||
} else
|
||||
continue;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user