2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 19:31:05 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2013-06-06 23:29:40 +02:00
|
|
|
|
|
|
|
ENTRY(swapon)
|
|
|
|
mov ip, r7
|
|
|
|
ldr r7, =__NR_swapon
|
|
|
|
swi #0
|
|
|
|
mov r7, ip
|
|
|
|
cmn r0, #(MAX_ERRNO + 1)
|
|
|
|
bxls lr
|
|
|
|
neg r0, r0
|
2014-09-09 00:25:01 +02:00
|
|
|
b __set_errno_internal
|
2013-06-06 23:29:40 +02:00
|
|
|
END(swapon)
|