projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e778eae
)
alpha: ret_from_fork can go straight to ret_to_user
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 18 Sep 2021 22:42:20 +0000
(18:42 -0400)
committer
Al 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/alpha/kernel/entry.S
b/arch/alpha/kernel/entry.S
index 43380fbf600dd9ed9d4f4821f676484c9ad2a90a..a6207c47f08940d740ed1171f24959e8351867da 100644
(file)
--- 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