diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-18 05:11:58 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-29 02:49:03 (GMT) |
commit | e0e431aa45416982eb3fddf34cedc72f1c3b3ce3 (patch) | |
tree | 10f3e3009387881a3c4a209b9d72c453aae865a1 /security | |
parent | 2b067fc9dd143be5e0ee94bae0fbd28ea0a407f8 (diff) | |
download | linux-e0e431aa45416982eb3fddf34cedc72f1c3b3ce3.tar.xz |
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 'security')
0 files changed, 0 insertions, 0 deletions