blob: bbc3e53fe72f37d754d4b4003fc000203a3b3a5f [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>
Stephen Smalley5eb686d2012-01-13 07:45:16 -05005#include <machine/asm.h>
Stephen Smalley5eb686d2012-01-13 07:45:16 -05006
7ENTRY(removexattr)
Matthieu Castetfaa0fdb2013-01-16 14:02:50 +01008 mov ip, r7
Stephen Smalley5eb686d2012-01-13 07:45:16 -05009 ldr r7, =__NR_removexattr
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
Stephen Smalley5eb686d2012-01-13 07:45:16 -050016END(removexattr)