diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-05-31 15:45:10 +0100 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2016-06-08 10:13:45 +0300 |
commit | badd3cd8805de3b5f8c76b6a00612ed62a71eff8 (patch) | |
tree | 2486de74f2c27bdc99b1a8d555f9aebd99c24141 /linux-user/alpha/target_cpu.h | |
parent | e0156a9dc43daea13b06b4c0edb755cc8f92dfdf (diff) |
linux-user: Fix NR_fadvise64 and NR_fadvise64_64 for 32-bit guests
Fix errors in the implementation of NR_fadvise64 and NR_fadvise64_64
for 32-bit guests, which pass their off_t values in register pairs.
We can't use the 64-bit code path for this, so split out the 32-bit
cases, so that we can correctly handle the "only offset is 64-bit"
and "both offset and length are 64-bit" syscall flavours, and
"uses aligned register pairs" and "does not" flavours of target.
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 'linux-user/alpha/target_cpu.h')
0 files changed, 0 insertions, 0 deletions