diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-05-31 15:45:09 +0100 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2016-06-08 10:13:45 +0300 |
commit | e0156a9dc43daea13b06b4c0edb755cc8f92dfdf (patch) | |
tree | 336287d474e1c42487d87299d28ed39983687281 /stubs/cpu-get-icount.c | |
parent | 9e024732f53b368abdd578e1795bf3d2779ea88a (diff) | |
download | qemu-e0156a9dc43daea13b06b4c0edb755cc8f92dfdf.zip qemu-e0156a9dc43daea13b06b4c0edb755cc8f92dfdf.tar.gz qemu-e0156a9dc43daea13b06b4c0edb755cc8f92dfdf.tar.bz2 |
linux-user: Fix handling of arm_fadvise64_64 syscall
32-bit ARM has an odd variant of the fadvise syscall which has
rearranged arguments, which we try to implement. Unfortunately we got
the rearrangement wrong.
This is a six-argument syscall whose arguments are:
* fd
* advise parameter
* offset high half
* offset low half
* len high half
* len low half
Stop trying to share code with the standard fadvise syscalls,
and just implement the syscall with the correct argument order.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'stubs/cpu-get-icount.c')
0 files changed, 0 insertions, 0 deletions