1/* autogenerated by gensyscalls.py */
2#include <asm/unistd.h>
3#include <linux/err.h>
4#include <machine/asm.h>
5
6ENTRY(__sys_clone)
7    mov     ip, sp
8    .save   {r4, r5, r6, r7}
9    stmfd   sp!, {r4, r5, r6, r7}
10    ldmfd   ip, {r4, r5, r6}
11    ldr     r7, =__NR_clone
12    swi     #0
13    ldmfd   sp!, {r4, r5, r6, r7}
14    cmn     r0, #(MAX_ERRNO + 1)
15    bxls    lr
16    neg     r0, r0
17    b       __set_errno
18END(__sys_clone)
19