diff --git a/lib/libc/amd64/gen/rfork_thread.S b/lib/libc/amd64/gen/rfork_thread.S index 5e764db831f5..d08700fb4fe4 100644 --- a/lib/libc/amd64/gen/rfork_thread.S +++ b/lib/libc/amd64/gen/rfork_thread.S @@ -80,11 +80,7 @@ ENTRY(rfork_thread) /* * Exit system call */ -#ifdef SYS_exit movq $SYS_exit, %rax -#else - movq $SYS_sys_exit, %rax -#endif KERNCALL /* diff --git a/lib/libc/i386/gen/rfork_thread.S b/lib/libc/i386/gen/rfork_thread.S index 1f8181d0cfbc..fb23ed041d09 100644 --- a/lib/libc/i386/gen/rfork_thread.S +++ b/lib/libc/i386/gen/rfork_thread.S @@ -98,11 +98,7 @@ ENTRY(rfork_thread) */ pushl %eax pushl $0 -#ifdef SYS_exit movl $SYS_exit, %eax -#else - movl $SYS_sys_exit, %eax -#endif KERNCALL /*