From: David S. Miller Date: Wed, 7 May 2008 23:21:28 +0000 (-0700) Subject: sparc: Fix fork/clone/vfork system call restart. X-Git-Tag: v2.6.26-rc2~51^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e38c126c9252b612697e34f43b1b3371c8ee31d;p=pandora-kernel.git sparc: Fix fork/clone/vfork system call restart. We clobber %i1 as well as %i0 for these system calls, because they give two return values. Therefore, on error, we have to restore %i1 properly or else the restart explodes since it uses the wrong arguments. This fixes glibc's nptl/tst-eintr1.c testcase. Signed-off-by: David S. Miller --- Reading git-diff-tree failed