fchdir.S revision 7f8863dc07377544c1289efd0aaf787f5a4ecc04
17f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu/* Generated by gensyscalls.py. Do not edit. */ 27f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu 37f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu#include <asm/unistd.h> 47f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu#include <linux/err.h> 57f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu#include <machine/asm.h> 67f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu 77f8863dc07377544c1289efd0aaf787f5a4ecc04Serban ConstantinescuENTRY(fchdir) 87f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu stp x29, x30, [sp, #-16]! 97f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu mov x29, sp 107f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu str x8, [sp, #-16]! 117f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu 127f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu mov x8, __NR_fchdir 137f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu svc #0 147f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu 157f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu ldr x8, [sp], #16 167f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu ldp x29, x30, [sp], #16 177f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu 187f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu cmn x0, #(MAX_ERRNO + 1) 197f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu cneg x0, x0, hi 207f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu b.hi __set_errno 217f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu 227f8863dc07377544c1289efd0aaf787f5a4ecc04Serban Constantinescu ret 237f8863dc07377544c1289efd0aaf787f5a4ecc04Serban ConstantinescuEND(fchdir) 24