aboutsummaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/_exit_thread.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86/syscalls/_exit_thread.S')
-rw-r--r--libc/arch-x86/syscalls/_exit_thread.S9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/arch-x86/syscalls/_exit_thread.S b/libc/arch-x86/syscalls/_exit_thread.S
index 16aaa5be4..a371350a3 100644
--- a/libc/arch-x86/syscalls/_exit_thread.S
+++ b/libc/arch-x86/syscalls/_exit_thread.S
@@ -1,12 +1,8 @@
/* autogenerated by gensyscalls.py */
+#include <machine/asm.h>
#include <sys/linux-syscalls.h>
- .text
- .type _exit_thread, @function
- .globl _exit_thread
- .align 4
-
-_exit_thread:
+ENTRY(_exit_thread)
pushl %ebx
mov 8(%esp), %ebx
movl $__NR_exit, %eax
@@ -21,3 +17,4 @@ _exit_thread:
1:
popl %ebx
ret
+END(_exit_thread)