aarch64: fix 64-bit syscall argument passing
authorSzabolcs Nagy <nsz@port70.net>
Tue, 11 Aug 2015 20:55:18 +0000 (20:55 +0000)
committerRich Felker <dalias@aerifal.cx>
Tue, 11 Aug 2015 23:11:57 +0000 (23:11 +0000)
commite5b086e1d5fe52bf1553357ee790de86eda27bf1
tree576741cbba2d1b0542af2f20012ec490f76a32f0
parent062bb737de06c3906b4b4a07c7fc0fb286287efe
aarch64: fix 64-bit syscall argument passing

On 32bit systems long long arguments are passed in a special way
to some syscalls; this accidentally got copied to the AArch64 port.

The following interfaces were broken: fallocate, fanotify, ftruncate,
posix_fadvise, posix_fallocate, pread, pwrite, readahead,
sync_file_range, truncate.
arch/aarch64/syscall_arch.h