2013-10-16 21:27:59 +00:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-03-22 20:50:44 +00:00
|
|
|
#include <asm/unistd.h>
|
2013-03-12 21:57:30 +00:00
|
|
|
#include <linux/err.h>
|
2012-01-13 12:45:16 +00:00
|
|
|
#include <machine/asm.h>
|
|
|
|
|
|
|
|
ENTRY(getxattr)
|
2013-01-16 13:02:50 +00:00
|
|
|
mov ip, r7
|
2012-01-13 12:45:16 +00:00
|
|
|
ldr r7, =__NR_getxattr
|
|
|
|
swi #0
|
2013-01-16 13:02:50 +00:00
|
|
|
mov r7, ip
|
2013-03-12 21:57:30 +00:00
|
|
|
cmn r0, #(MAX_ERRNO + 1)
|
|
|
|
bxls lr
|
|
|
|
neg r0, r0
|
|
|
|
b __set_errno
|
2012-01-13 12:45:16 +00:00
|
|
|
END(getxattr)
|