summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/syscalls/getppid.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm/syscalls/getppid.S')
-rw-r--r--libc/arch-arm/syscalls/getppid.S11
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/arch-arm/syscalls/getppid.S b/libc/arch-arm/syscalls/getppid.S
index 14185b9..3eb1b86 100644
--- a/libc/arch-arm/syscalls/getppid.S
+++ b/libc/arch-arm/syscalls/getppid.S
@@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
+#include <machine/asm.h>
#include <sys/linux-syscalls.h>
- .text
- .type getppid, #function
- .globl getppid
- .align 4
- .fnstart
-
-getppid:
+ENTRY(getppid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getppid
@@ -16,4 +11,4 @@ getppid:
movs r0, r0
bxpl lr
b __set_syscall_errno
- .fnend
+END(getppid)