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:
Brooks Davis 2018-06-01 22:09:27 +00:00
parent 60221a5701
commit 0141ef6c07
2 changed files with 0 additions and 8 deletions

View File

@ -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
/*

View File

@ -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
/*