summaryrefslogtreecommitdiffstats
path: root/tools/objtool/check.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-08-14 13:44:32 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2023-08-16 21:47:53 +0200
commitd025b7bac07a6e90b6b98b487f88854ad9247c39 (patch)
tree3df922056f90520f3bdff0e6efc02bb83f257eeb /tools/objtool/check.c
parentx86/cpu: Clean up SRSO return thunk mess (diff)
downloadlinux-d025b7bac07a6e90b6b98b487f88854ad9247c39.tar.xz
linux-d025b7bac07a6e90b6b98b487f88854ad9247c39.zip
x86/cpu: Rename original retbleed methods
Rename the original retbleed return thunk and untrain_ret to retbleed_return_thunk() and retbleed_untrain_ret(). No functional changes. Suggested-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230814121148.909378169@infradead.org
Diffstat (limited to '')
-rw-r--r--tools/objtool/check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index 191656ee9fbc..7a9aaf400873 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -1593,7 +1593,7 @@ static int add_jump_destinations(struct objtool_file *file)
struct symbol *sym = find_symbol_by_offset(dest_sec, dest_off);
/*
- * This is a special case for zen_untrain_ret().
+ * This is a special case for retbleed_untrain_ret().
* It jumps to __x86_return_thunk(), but objtool
* can't find the thunk's starting RET
* instruction, because the RET is also in the