blob: b64662f1c84ab26f54dd64966e07917a54ce5509 [file] [log] [blame]
San Mehat75c5e252010-02-23 15:55:29 -08001/* autogenerated by gensyscalls.py */
Elliott Hughes7582a9c2013-02-06 17:08:15 -08002#include <machine/asm.h>
San Mehat75c5e252010-02-23 15:55:29 -08003#include <sys/linux-syscalls.h>
4
Elliott Hughes7582a9c2013-02-06 17:08:15 -08005ENTRY(ioprio_get)
San Mehat75c5e252010-02-23 15:55:29 -08006 pushl %ebx
7 pushl %ecx
8 mov 12(%esp), %ebx
9 mov 16(%esp), %ecx
10 movl $__NR_ioprio_get, %eax
11 int $0x80
12 cmpl $-129, %eax
13 jb 1f
14 negl %eax
15 pushl %eax
16 call __set_errno
17 addl $4, %esp
18 orl $-1, %eax
191:
20 popl %ecx
21 popl %ebx
22 ret
Elliott Hughes7582a9c2013-02-06 17:08:15 -080023END(ioprio_get)