diff options
Diffstat (limited to 'lib/libc/i386/sys/rfork.S')
| -rw-r--r-- | lib/libc/i386/sys/rfork.S | 10 | 
1 files changed, 3 insertions, 7 deletions
| diff --git a/lib/libc/i386/sys/rfork.S b/lib/libc/i386/sys/rfork.S index c1e85e6f80fc..341135786041 100644 --- a/lib/libc/i386/sys/rfork.S +++ b/lib/libc/i386/sys/rfork.S @@ -33,21 +33,17 @@   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF   * SUCH DAMAGE.   * - *	$Id: rfork.S,v 1.1 1996/02/23 19:56:47 peter Exp $ + *	$Id: rfork.S,v 1.2 1996/05/05 07:56:15 peter Exp $   */  #if defined(SYSLIBC_RCS) && !defined(lint)  	.text -	.asciz "$Id: rfork.S,v 1.1 1996/02/23 19:56:47 peter Exp $" +	.asciz "$Id: rfork.S,v 1.2 1996/05/05 07:56:15 peter Exp $"  #endif /* SYSLIBC_RCS and not lint */  #include "SYS.h" -#ifdef _THREAD_SAFE -PSYSCALL(rfork,_thread_sys_rfork) -#else -SYSCALL(rfork) -#endif +PSYSCALL(rfork)  	cmpl	$0,%edx	/* parent, since %edx == 0 in parent, 1 in child */  	je	1f  	movl	$0,%eax | 
