From fa6a3bf7ff3734ff13764d1b9e36c48f93eb3677 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 18 Sep 2021 18:42:20 -0400 Subject: 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 --- arch/alpha/kernel/entry.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/alpha/kernel') 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 -- cgit v1.2.3