diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-18 01:11:58 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 21:49:03 -0500 |
commit | e0e431aa45416982eb3fddf34cedc72f1c3b3ce3 (patch) | |
tree | 10f3e3009387881a3c4a209b9d72c453aae865a1 /arch/alpha/kernel/sys_miata.c | |
parent | 2b067fc9dd143be5e0ee94bae0fbd28ea0a407f8 (diff) | |
download | blackbird-op-linux-e0e431aa45416982eb3fddf34cedc72f1c3b3ce3.tar.gz blackbird-op-linux-e0e431aa45416982eb3fddf34cedc72f1c3b3ce3.zip |
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha/kernel/sys_miata.c')
0 files changed, 0 insertions, 0 deletions