Remove support for SYS_sys_exit in favor of SYS_exit.
SYS_exit has been defined in the repo since 1994 except for a brief window when SYS_sys_exit was defined in 2000.
This commit is contained in:
parent
60221a5701
commit
0141ef6c07
@ -80,11 +80,7 @@ ENTRY(rfork_thread)
|
|||||||
/*
|
/*
|
||||||
* Exit system call
|
* Exit system call
|
||||||
*/
|
*/
|
||||||
#ifdef SYS_exit
|
|
||||||
movq $SYS_exit, %rax
|
movq $SYS_exit, %rax
|
||||||
#else
|
|
||||||
movq $SYS_sys_exit, %rax
|
|
||||||
#endif
|
|
||||||
KERNCALL
|
KERNCALL
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -98,11 +98,7 @@ ENTRY(rfork_thread)
|
|||||||
*/
|
*/
|
||||||
pushl %eax
|
pushl %eax
|
||||||
pushl $0
|
pushl $0
|
||||||
#ifdef SYS_exit
|
|
||||||
movl $SYS_exit, %eax
|
movl $SYS_exit, %eax
|
||||||
#else
|
|
||||||
movl $SYS_sys_exit, %eax
|
|
||||||
#endif
|
|
||||||
KERNCALL
|
KERNCALL
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user