blob: 50f107a70185575e8adfeff61bada8cef1e262fc [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughesb4f76162013-09-19 16:27:24 -07003#include <asm/unistd.h>
4#include <linux/err.h>
5#include <machine/asm.h>
6
7ENTRY(sendfile64)
8 mov ip, r7
9 ldr r7, =__NR_sendfile64
10 swi #0
11 mov r7, ip
12 cmn r0, #(MAX_ERRNO + 1)
13 bxls lr
14 neg r0, r0
15 b __set_errno
16END(sendfile64)