diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-08-14 13:44:32 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-08-16 21:47:53 +0200 |
commit | d025b7bac07a6e90b6b98b487f88854ad9247c39 (patch) | |
tree | 3df922056f90520f3bdff0e6efc02bb83f257eeb /tools/objtool/arch | |
parent | d43490d0ab824023e11d0b57d0aeec17a6e0ca13 (diff) | |
download | linux-stable-d025b7bac07a6e90b6b98b487f88854ad9247c39.tar.gz linux-stable-d025b7bac07a6e90b6b98b487f88854ad9247c39.tar.bz2 linux-stable-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 'tools/objtool/arch')
-rw-r--r-- | tools/objtool/arch/x86/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/arch/x86/decode.c b/tools/objtool/arch/x86/decode.c index c55f3bb59b31..c0f25d00181e 100644 --- a/tools/objtool/arch/x86/decode.c +++ b/tools/objtool/arch/x86/decode.c @@ -829,6 +829,6 @@ bool arch_is_rethunk(struct symbol *sym) bool arch_is_embedded_insn(struct symbol *sym) { - return !strcmp(sym->name, "zen_return_thunk") || + return !strcmp(sym->name, "retbleed_return_thunk") || !strcmp(sym->name, "srso_safe_ret"); } |