sparc: Fix fork/clone/vfork system call restart.
authorDavid S. Miller <davem@davemloft.net>
Wed, 7 May 2008 23:21:28 +0000 (16:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 May 2008 23:21:28 +0000 (16:21 -0700)
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 <davem@davemloft.net>

No differences found