Elliott Hughes | 1ad05db | 2012-09-06 11:24:45 -0700 | [diff] [blame^] | 1 | /* autogenerated by gensyscalls.py */ |
2 | #include <sys/linux-syscalls.h> | ||||
3 | .text | ||||
4 | .globl mlockall | ||||
5 | .align 4 | ||||
6 | .ent mlockall | ||||
7 | |||||
8 | mlockall: | ||||
9 | .set noreorder | ||||
10 | .cpload $t9 | ||||
11 | li $v0, __NR_mlockall | ||||
12 | syscall | ||||
13 | bnez $a3, 1f | ||||
14 | move $a0, $v0 | ||||
15 | j $ra | ||||
16 | nop | ||||
17 | 1: | ||||
18 | la $t9,__set_errno | ||||
19 | j $t9 | ||||
20 | nop | ||||
21 | .set reorder | ||||
22 | .end mlockall |