blob: 009dc542896b823c4d83baa1ac82a254ba308762 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/* autogenerated by gensyscalls.py */
Kenny Rootfb723c82011-02-17 10:47:44 -08002#include <machine/asm.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08003#include <sys/linux-syscalls.h>
4
Kenny Rootfb723c82011-02-17 10:47:44 -08005ENTRY(prctl)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08006 mov ip, sp
7 .save {r4, r5, r6, r7}
8 stmfd sp!, {r4, r5, r6, r7}
9 ldmfd ip, {r4, r5, r6}
10 ldr r7, =__NR_prctl
11 swi #0
12 ldmfd sp!, {r4, r5, r6, r7}
13 movs r0, r0
14 bxpl lr
15 b __set_syscall_errno
Kenny Rootfb723c82011-02-17 10:47:44 -080016END(prctl)