commit | 1e38c126c9252b612697e34f43b1b3371c8ee31d | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed May 07 16:21:28 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed May 07 16:21:28 2008 -0700 |
tree | 32f4d7635b9acb3c1210d46193ca777021fd52a3 | |
parent | 5816339310b2d9623cf413d33e538b45e815da5d [diff] |
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 <davem@davemloft.net>