platform_bionic/libc/arch-mips/syscalls/mlockall.S
Elliott Hughes 1ad05db9ce Add mlockall and munlockall for Google TV.
Change-Id: I10e961d701e74aab07211ec7975f61167e387853
2012-09-06 11:24:45 -07:00

22 lines
347 B
ArmAsm

/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.globl mlockall
.align 4
.ent mlockall
mlockall:
.set noreorder
.cpload $t9
li $v0, __NR_mlockall
syscall
bnez $a3, 1f
move $a0, $v0
j $ra
nop
1:
la $t9,__set_errno
j $t9
nop
.set reorder
.end mlockall