summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-18 07:11:58 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-29 03:49:03 +0100
commite0e431aa45416982eb3fddf34cedc72f1c3b3ce3 (patch)
tree10f3e3009387881a3c4a209b9d72c453aae865a1 /samples
parentum: don't bother looking at regs in copy_thread() - current_pt_regs() is what... (diff)
downloadlinux-e0e431aa45416982eb3fddf34cedc72f1c3b3ce3.tar.xz
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 'samples')
0 files changed, 0 insertions, 0 deletions