aboutsummaryrefslogtreecommitdiff
path: root/memory_mapping.c
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-12-28 13:08:04 -0500
committerLaurent Vivier <laurent@vivier.eu>2018-03-09 21:19:03 +0100
commit8756e1361d177e91dc6d88f37749b809fd2407fb (patch)
tree827826d499061662245a26d413722dbaf44ebb83 /memory_mapping.c
parentd4090306c8079ca3df426f82c493314c3537064e (diff)
downloadqemu-8756e1361d177e91dc6d88f37749b809fd2407fb.zip
qemu-8756e1361d177e91dc6d88f37749b809fd2407fb.tar.gz
qemu-8756e1361d177e91dc6d88f37749b809fd2407fb.tar.bz2
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 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions