linux-user: fix fadvise64_64() on ppc
commit43046b5a074029a9354bb2b772ca1f91320440f5
authorLaurent Vivier <laurent@vivier.eu>
Thu, 2 Mar 2017 00:11:45 +0000 (2 01:11 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 29 May 2017 11:56:07 +0000 (29 14:56 +0300)
treee5d8841c2717b314d301692e136e3d0a0b11596b
parent562a20b4ef63bdde6e2e5bac0da02302aeb5299f
linux-user: fix fadvise64_64() on ppc

On ppc, advice is arg2, not arg6:

long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low,
                      u32 len_high, u32 len_low)

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c