summaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-09-18 18:38:15 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2022-10-29 23:31:15 -0400
commite778eaecedcb0422dd81af23cf83546b4932fc19 (patch)
treee09deb9ec2245f0dd4dcc1ab8fdcdc5c220d1b83 /arch/alpha
parent19a09e426893a3cb08b97147b8dc22bdfcab3bba (diff)
downloadlinux-e778eaecedcb0422dd81af23cf83546b4932fc19.tar.bz2
alpha: syscall exit cleanup
$ret_success consists of two insn + branch to ret_from_syscall. The thing is, those insns are identical to the ones immediately preceding ret_from_syscall... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/kernel/entry.S6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S
index 78fe7ee25425..43380fbf600d 100644
--- a/arch/alpha/kernel/entry.S
+++ b/arch/alpha/kernel/entry.S
@@ -478,6 +478,7 @@ entSys:
1: jsr $26, ($27), sys_ni_syscall
ldgp $gp, 0($26)
blt $0, $syscall_error /* the call failed */
+$ret_success:
stq $0, 0($sp)
stq $31, 72($sp) /* a3=0 => no error */
@@ -527,11 +528,6 @@ $syscall_error:
stq $1, 72($sp) /* a3 for return */
br ret_from_sys_call
-$ret_success:
- stq $0, 0($sp)
- stq $31, 72($sp) /* a3=0 => no error */
- br ret_from_sys_call
-
/*
* Do all cleanup when returning from all interrupts and system calls.
*