blob: 7108aa339fb1b6139a70ef808b835c9550322fda [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Rom Lemarchandd206b562013-06-06 14:29:40 -07003#include <asm/unistd.h>
4#include <linux/err.h>
5#include <machine/asm.h>
6
7ENTRY(swapon)
8 mov ip, r7
9 ldr r7, =__NR_swapon
10 swi #0
11 mov r7, ip
12 cmn r0, #(MAX_ERRNO + 1)
13 bxls lr
14 neg r0, r0
15 b __set_errno
16END(swapon)