Re: [Qemu-devel] [PATCH v2 5/5] linux-user: Fix fadvise64() syscall support for Mips32

2016-10-12 Thread Peter Maydell
On 12 October 2016 at 12:48, Aleksandar Markovic wrote: > From: Aleksandar Markovic > > By looking at the file arch/mips/kernel/sys.S in Linux kernel, > it can be deduced that, for Mips32 platform, syscall > corresponding to number

[Qemu-devel] [PATCH v2 5/5] linux-user: Fix fadvise64() syscall support for Mips32

2016-10-12 Thread Aleksandar Markovic
From: Aleksandar Markovic By looking at the file arch/mips/kernel/sys.S in Linux kernel, it can be deduced that, for Mips32 platform, syscall corresponding to number _NR_fadvise64 translates to kernel function sys_fadvise64_64, and that argument layout is as