blob: 729c4fa3c90dfa25e728120d1d374ea235fdb5b4 [file] [log] [blame]
Stephen Smalley5eb686d2012-01-13 07:45:16 -05001/* autogenerated by gensyscalls.py */
Elliott Hughescda62092013-03-22 13:50:44 -07002#include <asm/unistd.h>
Elliott Hughes9aceab52013-03-12 14:57:30 -07003#include <linux/err.h>
Stephen Smalley5eb686d2012-01-13 07:45:16 -05004#include <machine/asm.h>
Stephen Smalley5eb686d2012-01-13 07:45:16 -05005
6ENTRY(lremovexattr)
Matthieu Castetfaa0fdb2013-01-16 14:02:50 +01007 mov ip, r7
Stephen Smalley5eb686d2012-01-13 07:45:16 -05008 ldr r7, =__NR_lremovexattr
9 swi #0
Matthieu Castetfaa0fdb2013-01-16 14:02:50 +010010 mov r7, ip
Elliott Hughes9aceab52013-03-12 14:57:30 -070011 cmn r0, #(MAX_ERRNO + 1)
12 bxls lr
13 neg r0, r0
14 b __set_errno
Stephen Smalley5eb686d2012-01-13 07:45:16 -050015END(lremovexattr)