b4f7616fd6
Change-Id: Ib2eee0cf13162be3b62559b84e90c6dcf5aab1c3
16 lines
322 B
ArmAsm
16 lines
322 B
ArmAsm
/* autogenerated by gensyscalls.py */
|
|
#include <asm/unistd.h>
|
|
#include <linux/err.h>
|
|
#include <machine/asm.h>
|
|
|
|
ENTRY(sendfile64)
|
|
mov ip, r7
|
|
ldr r7, =__NR_sendfile64
|
|
swi #0
|
|
mov r7, ip
|
|
cmn r0, #(MAX_ERRNO + 1)
|
|
bxls lr
|
|
neg r0, r0
|
|
b __set_errno
|
|
END(sendfile64)
|