From: Al Viro Date: Thu, 18 Oct 2012 05:11:58 +0000 (-0400) Subject: alpha: simplify fork and friends X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~47^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0e431aa45416982eb3fddf34cedc72f1c3b3ce3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed