Home | History | Annotate | Download | only in syscalls
      1 /* Generated by gensyscalls.py. Do not edit. */
      2 
      3 #include <private/bionic_asm.h>
      4 
      5 ENTRY(readahead)
      6     mov     ip, sp
      7     stmfd   sp!, {r4, r5, r6, r7}
      8     .cfi_def_cfa_offset 16
      9     .cfi_rel_offset r4, 0
     10     .cfi_rel_offset r5, 4
     11     .cfi_rel_offset r6, 8
     12     .cfi_rel_offset r7, 12
     13     ldmfd   ip, {r4, r5, r6}
     14     ldr     r7, =__NR_readahead
     15     swi     #0
     16     ldmfd   sp!, {r4, r5, r6, r7}
     17     .cfi_def_cfa_offset 0
     18     cmn     r0, #(MAX_ERRNO + 1)
     19     bxls    lr
     20     neg     r0, r0
     21     b       __set_errno_internal
     22 END(readahead)
     23