diff options
author | Luke Shumaker | 2017-12-28 19:08:04 +0100 |
---|---|---|
committer | Laurent Vivier | 2018-03-09 21:19:03 +0100 |
commit | 8756e1361d177e91dc6d88f37749b809fd2407fb (patch) | |
tree | 827826d499061662245a26d413722dbaf44ebb83 /util/aio-win32.c | |
parent | qemu-binfmt-conf.sh: add qemu-xtensa (diff) | |
download | qemu-8756e1361d177e91dc6d88f37749b809fd2407fb.tar.gz qemu-8756e1361d177e91dc6d88f37749b809fd2407fb.tar.xz qemu-8756e1361d177e91dc6d88f37749b809fd2407fb.zip |
linux-user: Use #if to only call validate_guest_space for 32-bit ARM target
Instead of defining a bogus validate_guest_space that always returns 1 on
targets other than 32-bit ARM, use #if blocks to only call it on 32-bit ARM
targets. This makes the "normal" flow control clearer.
Signed-off-by: Luke Shumaker <lukeshu@parabola.nu>
Message-Id: <20171228180814.9749-2-lukeshu@lukeshu.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[lv: fix condition to "!= 1" as requested by Peter]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'util/aio-win32.c')
0 files changed, 0 insertions, 0 deletions