blob: 7747f2ac6e8d5892037d6d1421aca191bbc58b0c [file] [log] [blame]
Elliott Hughesf64b8ea2014-02-03 16:20:46 -08001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <asm/unistd.h>
Elliott Hugheseae27dc2014-02-19 12:20:00 -08004#include <machine/asm.h>
5#include <machine/regdef.h>
Elliott Hughesf64b8ea2014-02-03 16:20:46 -08006 .text
7 .globl fallocate64
8 .align 4
9 .ent fallocate64
10
11fallocate64:
12 .set noreorder
Elliott Hugheseae27dc2014-02-19 12:20:00 -080013 .cpload t9
14 li v0, __NR_fallocate
Elliott Hughesf64b8ea2014-02-03 16:20:46 -080015 syscall
Elliott Hugheseae27dc2014-02-19 12:20:00 -080016 bnez a3, 1f
17 move a0, v0
18 j ra
Elliott Hughesf64b8ea2014-02-03 16:20:46 -080019 nop
201:
Elliott Hugheseae27dc2014-02-19 12:20:00 -080021 la t9,__set_errno
22 j t9
Elliott Hughesf64b8ea2014-02-03 16:20:46 -080023 nop
24 .set reorder
25 .end fallocate64