diff options
author | 2012-10-18 01:11:58 -0400 | |
---|---|---|
committer | 2012-11-28 21:49:03 -0500 | |
commit | e0e431aa45416982eb3fddf34cedc72f1c3b3ce3 (patch) | |
tree | 10f3e3009387881a3c4a209b9d72c453aae865a1 /arch/arm/kernel/process.c | |
parent | um: don't bother looking at regs in copy_thread() - current_pt_regs() is what we'll get (diff) | |
download | wireguard-linux-e0e431aa45416982eb3fddf34cedc72f1c3b3ce3.tar.xz wireguard-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/arm/kernel/process.c')
0 files changed, 0 insertions, 0 deletions