blob: f69316a16bdebb5c31980ed86564d95bd8186313 [file] [log] [blame]
Elliott Hughes1ad05db2012-09-06 11:24:45 -07001/* autogenerated by gensyscalls.py */
Elliott Hughes7582a9c2013-02-06 17:08:15 -08002#include <machine/asm.h>
Elliott Hughes1ad05db2012-09-06 11:24:45 -07003#include <sys/linux-syscalls.h>
4
Elliott Hughes7582a9c2013-02-06 17:08:15 -08005ENTRY(munlockall)
Elliott Hughes1ad05db2012-09-06 11:24:45 -07006 movl $__NR_munlockall, %eax
7 int $0x80
8 cmpl $-129, %eax
9 jb 1f
10 negl %eax
11 pushl %eax
12 call __set_errno
13 addl $4, %esp
14 orl $-1, %eax
151:
16 ret
Elliott Hughes7582a9c2013-02-06 17:08:15 -080017END(munlockall)