1 /* autogenerated by gensyscalls.py */ 2 #include <sys/linux-syscalls.h> 3 4 .text 5 .type getppid, #function 6 .globl getppid 7 .align 4 8 .fnstart 9 10 getppid: 11 .save {r4, r7} 12 stmfd sp!, {r4, r7} 13 ldr r7, =__NR_getppid 14 swi #0 15 ldmfd sp!, {r4, r7} 16 movs r0, r0 17 bxpl lr 18 b __set_syscall_errno 19 .fnend 20