blob: a1709e934e22d32410b171adbfdba280aa50b012 [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughescda62092013-03-22 13:50:44 -07003#include <asm/unistd.h>
Elliott Hughes9aceab52013-03-12 14:57:30 -07004#include <linux/err.h>
Kenny Rootf0ec06b2012-04-13 14:56:25 -07005#include <machine/asm.h>
Kenny Rootf0ec06b2012-04-13 14:56:25 -07006
7ENTRY(faccessat)
Matthieu Castetfaa0fdb2013-01-16 14:02:50 +01008 mov ip, r7
Kenny Rootf0ec06b2012-04-13 14:56:25 -07009 ldr r7, =__NR_faccessat
10 swi #0
Matthieu Castetfaa0fdb2013-01-16 14:02:50 +010011 mov r7, ip
Elliott Hughes9aceab52013-03-12 14:57:30 -070012 cmn r0, #(MAX_ERRNO + 1)
13 bxls lr
14 neg r0, r0
15 b __set_errno
Kenny Rootf0ec06b2012-04-13 14:56:25 -070016END(faccessat)