about summary refs log tree commit diff
path: root/src/thread/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/x86_64')
-rw-r--r--src/thread/x86_64/__unmapself.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/x86_64/__unmapself.s b/src/thread/x86_64/__unmapself.s
index d36257d0..0b04d99c 100644
--- a/src/thread/x86_64/__unmapself.s
+++ b/src/thread/x86_64/__unmapself.s
@@ -3,9 +3,9 @@
 .global __unmapself
 .type   __unmapself,%function
 __unmapself:
-	movl $11,%eax   /* __NR_munmap */
+	movl $11,%eax   /* SYS_munmap */
 	syscall         /* munmap(arg2,arg3) */
 	xor %rdi,%rdi   /* exit() args: always return success */
-	movl $60,%eax   /* __NR_exit */
+	movl $60,%eax   /* SYS_exit */
 	syscall         /* exit(0) */
 .size __unmapself,.-__unmapself