bionic/libc/arch-mips/syscalls/swapoff.S
Rom Lemarchand d206b560e7 libc: add swapon and swapoff syscalls
Change-Id: Ie79dc8e3f2ff1cd427dd6d95e3850920c4b407b0
Signed-off-by: Rom Lemarchand <romlem@google.com>
2013-06-25 13:18:03 -07:00

23 lines
334 B
ArmAsm

/* autogenerated by gensyscalls.py */
#include <asm/unistd.h>
.text
.globl swapoff
.align 4
.ent swapoff
swapoff:
.set noreorder
.cpload $t9
li $v0, __NR_swapoff
syscall
bnez $a3, 1f
move $a0, $v0
j $ra
nop
1:
la $t9,__set_errno
j $t9
nop
.set reorder
.end swapoff