2010-09-26 22:29:14 +02:00
|
|
|
/* autogenerated by gensyscalls.py */
|
2011-02-17 19:47:44 +01:00
|
|
|
#include <machine/asm.h>
|
2010-09-26 22:29:14 +02:00
|
|
|
#include <sys/linux-syscalls.h>
|
|
|
|
|
2011-02-17 19:47:44 +01:00
|
|
|
ENTRY(eventfd)
|
2010-09-26 22:29:14 +02:00
|
|
|
.save {r4, r7}
|
|
|
|
stmfd sp!, {r4, r7}
|
|
|
|
ldr r7, =__NR_eventfd2
|
|
|
|
swi #0
|
|
|
|
ldmfd sp!, {r4, r7}
|
|
|
|
movs r0, r0
|
|
|
|
bxpl lr
|
|
|
|
b __set_syscall_errno
|
2011-02-17 19:47:44 +01:00
|
|
|
END(eventfd)
|