alpha: ret_from_fork can go straight to ret_to_user
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 18 Sep 2021 22:42:20 +0000 (18:42 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 30 Oct 2022 03:31:16 +0000 (23:31 -0400)
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>
arch/alpha/kernel/entry.S

index 43380fbf600dd9ed9d4f4821f676484c9ad2a90a..a6207c47f08940d740ed1171f24959e8351867da 100644 (file)
@@ -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