Skip to content
Commit 1e38c126 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 58163393
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment