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