diff options
author | Peter Wemm <peter@FreeBSD.org> | 2000-07-29 11:34:01 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2000-07-29 11:34:01 +0000 |
commit | ea3d3534447b0c627f842217d5801683fe3cc19d (patch) | |
tree | 9d17f2cb2a40d4df3640aa73be9fdbd0c98b0af6 | |
parent | 3a285cc807ba5b43ddb102494247e7897c2ddf48 (diff) |
Notes
-rw-r--r-- | lib/libc/i386/gen/rfork_thread.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/i386/gen/rfork_thread.S b/lib/libc/i386/gen/rfork_thread.S index 674f86e58710..2d63b67c7d0c 100644 --- a/lib/libc/i386/gen/rfork_thread.S +++ b/lib/libc/i386/gen/rfork_thread.S @@ -63,9 +63,8 @@ ENTRY(rfork_thread) /* * Prepare and execute the thread creation syscall */ - pushl 12(%ebp) pushl 8(%ebp) - pushl %esi + pushl $0 leal SYS_rfork, %eax KERNCALL jb 2f @@ -91,16 +90,17 @@ ENTRY(rfork_thread) movl %esi,%esp popl %eax call *%eax - addl $12, %esp + addl $4, %esp /* * Exit system call */ pushl %eax + pushl $0 #ifdef SYS_exit - pushl $SYS_exit + leal SYS_exit, %eax #else - pushl $SYS_sys_exit + leal SYS_sys_exit, %eax #endif KERNCALL |