blob: ea73dc0b8bfafe51d036e98147d4d2624e4cfb3b [file] [log] [blame]
Trevor Drake49ea11e2013-10-05 21:33:20 +01001/* autogenerated by gensyscalls.py */
maxwen27116ba2015-08-14 21:41:28 +02002
3#ifdef BIONIC_L
4# include <private/bionic_asm.h>
5#else
6# include <asm/unistd.h>
7# include <linux/err.h>
8# include <machine/asm.h>
9#endif
Trevor Drake49ea11e2013-10-05 21:33:20 +010010
11 .text
12 .type sysinfo, @function
13 .globl sysinfo
14 .align 4
15
16sysinfo:
17 pushl %ebx
18 mov 8(%esp), %ebx
19 movl $__NR_sysinfo, %eax
20 int $0x80
21 cmpl $-MAX_ERRNO, %eax
22 jb 1f
23 negl %eax
24 pushl %eax
25 call __set_errno
26 addl $4, %esp
27 orl $-1, %eax
281:
29 popl %ebx
30 ret
31