Home | History | Annotate | Download | only in syscalls
      1 /* autogenerated by gensyscalls.py */
      2 #include <asm/unistd.h>
      3 #include <linux/err.h>
      4 #include <machine/asm.h>
      5 
      6 ENTRY(readahead)
      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_readahead
     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
     18 END(readahead)
     19