sendfile64.S revision 103ccde8fe2f2c8abde914a8ba736b2e9cb8d20b
1103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes/* Generated by gensyscalls.py. Do not edit. */ 2103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes 3b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes#include <asm/unistd.h> 4b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes#include <linux/err.h> 5b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes#include <machine/asm.h> 6b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes 7b4f7616fd618875768b8fffc122b58bdb84a9969Elliott HughesENTRY(sendfile64) 8b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes mov ip, r7 9b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes ldr r7, =__NR_sendfile64 10b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes swi #0 11b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes mov r7, ip 12b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes cmn r0, #(MAX_ERRNO + 1) 13b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes bxls lr 14b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes neg r0, r0 15b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes b __set_errno 16b4f7616fd618875768b8fffc122b58bdb84a9969Elliott HughesEND(sendfile64) 17