2013-01-10 00:46:06 +01:00
|
|
|
/* autogenerated by gensyscalls.py */
|
2013-03-12 22:57:30 +01:00
|
|
|
#include <linux/err.h>
|
2013-01-10 00:46:06 +01:00
|
|
|
#include <machine/asm.h>
|
|
|
|
#include <sys/linux-syscalls.h>
|
|
|
|
|
|
|
|
ENTRY(signalfd4)
|
2013-01-16 14:02:50 +01:00
|
|
|
mov ip, r7
|
2013-01-10 00:46:06 +01:00
|
|
|
ldr r7, =__NR_signalfd4
|
|
|
|
swi #0
|
2013-01-16 14:02:50 +01:00
|
|
|
mov r7, ip
|
2013-03-12 22:57:30 +01:00
|
|
|
cmn r0, #(MAX_ERRNO + 1)
|
|
|
|
bxls lr
|
|
|
|
neg r0, r0
|
|
|
|
b __set_errno
|
2013-01-10 00:46:06 +01:00
|
|
|
END(signalfd4)
|