summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/msync.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86/syscalls/msync.S')
-rw-r--r--libc/arch-x86/syscalls/msync.S9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/arch-x86/syscalls/msync.S b/libc/arch-x86/syscalls/msync.S
index b83ce01..2da5bc7 100644
--- a/libc/arch-x86/syscalls/msync.S
+++ b/libc/arch-x86/syscalls/msync.S
@@ -1,12 +1,8 @@
/* autogenerated by gensyscalls.py */
+#include <machine/asm.h>
#include <sys/linux-syscalls.h>
- .text
- .type msync, @function
- .globl msync
- .align 4
-
-msync:
+ENTRY(msync)
pushl %ebx
pushl %ecx
pushl %edx
@@ -27,3 +23,4 @@ msync:
popl %ecx
popl %ebx
ret
+END(msync)