linux-user: AArch64 has sync_file_range, not sync_file_range2
commitc4e1cbd437776f99d45d7d2ddd7543ee3883ac98
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Jul 2016 16:28:06 +0000 (15 17:28 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 19 Jul 2016 13:18:11 +0000 (19 16:18 +0300)
treef03c05825a5062397ffe99bcfb7556fb00d99173
parenta57f1f8f52aec5c83e63ddf274fd18e2eece5f2b
linux-user: AArch64 has sync_file_range, not sync_file_range2

The AArch64 Linux ABI syscall 84 is sync_file_range, not
sync_file_range2 (in the kernel it uses the asm-generic
headers and does not define __ARCH_WANT_SYNC_FILE_RANGE2).
Update our TARGET_NR_* definitions accordingly.

This fixes the sync_file_range syscall which otherwise
gets its arguments in the wrong order.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/aarch64/syscall_nr.h