blob: 6c250e1936d972dbb6c2c405ef9dca938762fb84 [file] [log] [blame]
Elliott Hughes1ad05db2012-09-06 11:24:45 -07001/* autogenerated by gensyscalls.py */
Elliott Hughes9aceab52013-03-12 14:57:30 -07002#include <linux/err.h>
Elliott Hughes1ad05db2012-09-06 11:24:45 -07003#include <machine/asm.h>
4#include <sys/linux-syscalls.h>
5
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)