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
718d3e777c
commit
9c13b943ee
@ -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
|
||||
|
||||
/*
|
||||
|
@ -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
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user