summaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-09-18 18:42:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2022-10-29 23:31:16 -0400
commitfa6a3bf7ff3734ff13764d1b9e36c48f93eb3677 (patch)
tree7e1ba64143a69126c8f3455b1a2be2d1713e6311 /arch/alpha
parente778eaecedcb0422dd81af23cf83546b4932fc19 (diff)
downloadlinux-fa6a3bf7ff3734ff13764d1b9e36c48f93eb3677.tar.bz2
alpha: ret_from_fork can go straight to ret_to_user
We only hit ret_from_fork when the child is meant to return to userland (since 2012 or so). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/kernel/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S
index 43380fbf600d..a6207c47f089 100644
--- a/arch/alpha/kernel/entry.S
+++ b/arch/alpha/kernel/entry.S
@@ -766,7 +766,7 @@ alpha_switch_to:
.align 4
.ent ret_from_fork
ret_from_fork:
- lda $26, ret_from_sys_call
+ lda $26, ret_to_user
mov $17, $16
jmp $31, schedule_tail
.end ret_from_fork