summaryrefslogtreecommitdiff
path: root/arch/x86/math-emu/round_Xsig.S
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-12-04 16:43:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-15 21:18:49 +0300
commit14b476e07fab62d47d872bc99843a0d707f7cc94 (patch)
tree89a956f69da569ab192cd70e542ad268b9cd4143 /arch/x86/math-emu/round_Xsig.S
parent89837223d00d52d2d1e641c626acda11d9ef1a6c (diff)
downloadlinux-14b476e07fab62d47d872bc99843a0d707f7cc94.tar.xz
x86: Prepare asm files for straight-line-speculation
[ Upstream commit f94909ceb1ed4bfdb2ada72f93236305e6d6951f ] Replace all ret/retq instructions with RET in preparation of making RET a macro. Since AS is case insensitive it's a big no-op without RET defined. find arch/x86/ -name \*.S | while read file do sed -i 's/\<ret[q]*\>/RET/' $file done Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20211204134907.905503893@infradead.org Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/math-emu/round_Xsig.S')
-rw-r--r--arch/x86/math-emu/round_Xsig.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/math-emu/round_Xsig.S b/arch/x86/math-emu/round_Xsig.S
index d9d7de8dbd7b..126c40473bad 100644
--- a/arch/x86/math-emu/round_Xsig.S
+++ b/arch/x86/math-emu/round_Xsig.S
@@ -78,7 +78,7 @@ L_exit:
popl %esi
popl %ebx
leave
- ret
+ RET
SYM_FUNC_END(round_Xsig)
@@ -138,5 +138,5 @@ L_n_exit:
popl %esi
popl %ebx
leave
- ret
+ RET
SYM_FUNC_END(norm_Xsig)