From 28f45ce3d007a02044407c59d8fa8d71b123779d Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 13 Nov 2001 16:58:43 +0000 Subject: Cleanups after previous change: - Renumber labels since the previous revision removed one. - Remove useless and wrong comment. - Repeating the function name is just redundant. - The previous revision made the comment about %edx useless. - The comment about %eax was wrong (but did explain why %eax used to be fixed up). Submitted by: bde --- lib/libc/i386/sys/Ovfork.S | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'lib/libc/i386/sys/Ovfork.S') diff --git a/lib/libc/i386/sys/Ovfork.S b/lib/libc/i386/sys/Ovfork.S index af9c4a1..76c314c 100644 --- a/lib/libc/i386/sys/Ovfork.S +++ b/lib/libc/i386/sys/Ovfork.S @@ -41,13 +41,6 @@ #include "SYS.h" -/* - * pid = vfork(); - * - * %edx == 0 in parent process, %edx == 1 in child process. - * %eax == pid of child in parent, %eax == pid of parent in child. - * - */ .weak _vfork .set _vfork,__sys_vfork .weak vfork @@ -56,9 +49,9 @@ ENTRY(__sys_vfork) popl %ecx /* my rta into ecx */ lea SYS_vfork,%eax KERNCALL - jb 2f + jb 1f jmp *%ecx -2: +1: pushl %ecx PIC_PROLOGUE jmp PIC_PLT(HIDENAME(cerror)) -- cgit v1.1