blob: f13833c94ee5ad7929a875e8bcfd5177c6419d1c [file] [log] [blame]
/* autogenerated by gensyscalls.py */
#include <linux/err.h>
#include <asm/unistd.h>
.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