aboutsummaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/munlockall.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86/syscalls/munlockall.S')
-rw-r--r--libc/arch-x86/syscalls/munlockall.S9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/arch-x86/syscalls/munlockall.S b/libc/arch-x86/syscalls/munlockall.S
index c43e16264..f69316a16 100644
--- a/libc/arch-x86/syscalls/munlockall.S
+++ b/libc/arch-x86/syscalls/munlockall.S
@@ -1,12 +1,8 @@
/* autogenerated by gensyscalls.py */
+#include <machine/asm.h>
#include <sys/linux-syscalls.h>
- .text
- .type munlockall, @function
- .globl munlockall
- .align 4
-
-munlockall:
+ENTRY(munlockall)
movl $__NR_munlockall, %eax
int $0x80
cmpl $-129, %eax
@@ -18,3 +14,4 @@ munlockall:
orl $-1, %eax
1:
ret
+END(munlockall)