blob: 18881f4a36bf8d2b48fd085869f2d8490c1cddaf [file] [log] [blame]
Elliott Hughes1ad05db2012-09-06 11:24:45 -07001/* 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>
Elliott Hughes1ad05db2012-09-06 11:24:45 -07004#include <machine/asm.h>
Elliott Hughes1ad05db2012-09-06 11:24:45 -07005
6ENTRY(munlockall)
Matthieu Castetfaa0fdb2013-01-16 14:02:50 +01007 mov ip, r7
Elliott Hughes1ad05db2012-09-06 11:24:45 -07008 ldr r7, =__NR_munlockall
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
Elliott Hughes1ad05db2012-09-06 11:24:45 -070015END(munlockall)