blob: 5b4ee06ffade2c57f3c39709a2c91e2063f58603 [file] [log] [blame]
/* autogenerated by gensyscalls.py */
#ifdef BIONIC_L
# include <private/bionic_asm.h>
#else
# include <asm/unistd.h>
# include <linux/err.h>
# include <machine/asm.h>
#endif
.text
.type swapoff, @function
.globl swapoff
.align 4
swapoff:
pushl %ebx
mov 8(%esp), %ebx
movl $__NR_swapoff, %eax
int $0x80
cmpl $-MAX_ERRNO, %eax
jb 1f
negl %eax
pushl %eax
call __set_errno
addl $4, %esp
orl $-1, %eax
1:
popl %ebx
ret