Skip to content
Commit e0e431aa authored by Al Viro's avatar Al Viro
Browse files

alpha: simplify fork and friends



* no need to restore everything from switch_stack when we only need $26
* no need to pass current_pt_regs() manually, we can just as easily
calculate it in alpha_clone/alpha_vfork ($8 + constant)
* interpretation of zero usp as "use the parent's" is simpler in copy_thread();
let fork and vfork just pass 0.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2b067fc9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment