Merge "Fix mips __fadvise64.S build failure."

This commit is contained in:
Elliott Hughes 2014-09-11 17:12:48 +00:00 committed by Gerrit Code Review
commit ea66004c4a
2 changed files with 3 additions and 3 deletions

View File

@ -170,8 +170,8 @@ int fallocate|fallocate64(int, int, off_t, off_t) arm64,mips64,x86_64
# posix_fadvise64 is awkward: arm has shuffled arguments,
# the POSIX functions don't set errno, and no architecture has posix_fadvise.
int __arm_fadvise64_64:arm_fadvise64_64(int, int, off64_t, off64_t) arm
int __fadvise64:fadvise64_64(int, off64_t, off64_t, int) mips,x86
int __fadvise64:fadvise64(int, off64_t, off64_t, int) arm64,mips64,x86_64
int __fadvise64:fadvise64_64(int, off64_t, off64_t, int) x86
int __fadvise64:fadvise64(int, off64_t, off64_t, int) arm64,mips,mips64,x86_64
int __fstatfs64:fstatfs64(int, size_t, struct statfs*) arm,mips,x86
int fstatfs64|fstatfs:fstatfs(int, struct statfs*) arm64,mips64,x86_64

View File

@ -5,7 +5,7 @@
ENTRY(__fadvise64)
.set noreorder
.cpload t9
li v0, __NR_fadvise64_64
li v0, __NR_fadvise64
syscall
bnez a3, 1f
move a0, v0