aboutsummaryrefslogtreecommitdiff
path: root/kernel/semaphore.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-05-07 16:21:28 -0700
committerDavid S. Miller <davem@davemloft.net>2008-05-07 16:21:28 -0700
commit1e38c126c9252b612697e34f43b1b3371c8ee31d (patch)
tree32f4d7635b9acb3c1210d46193ca777021fd52a3 /kernel/semaphore.c
parent5816339310b2d9623cf413d33e538b45e815da5d (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>
Diffstat (limited to 'kernel/semaphore.c')
0 files changed, 0 insertions, 0 deletions