blob: 203e324bde827b7d92e212a60586052d8e944b17 [file] [log] [blame]
/* autogenerated by gensyscalls.py */
#include <asm/unistd.h>
#include <linux/err.h>
#include <machine/asm.h>
ENTRY(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
END(swapoff)