]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/arch-x86/syscalls/munlock.S
Merge "syslog needs a valid socket path for _PATH_LOG"
[android-sdk/platform-bionic.git] / libc / arch-x86 / syscalls / munlock.S
1 /* autogenerated by gensyscalls.py */
2 #include <linux/err.h>
3 #include <machine/asm.h>
4 #include <asm/unistd.h>
6 ENTRY(munlock)
7     pushl   %ebx
8     pushl   %ecx
9     mov     12(%esp), %ebx
10     mov     16(%esp), %ecx
11     movl    $__NR_munlock, %eax
12     int     $0x80
13     cmpl    $-MAX_ERRNO, %eax
14     jb      1f
15     negl    %eax
16     pushl   %eax
17     call    __set_errno
18     addl    $4, %esp
19     orl     $-1, %eax
20 1:
21     popl    %ecx
22     popl    %ebx
23     ret
24 END(munlock)