summaryrefslogtreecommitdiffstats
path: root/linux-user/mips/syscall_nr.h
diff options
context:
space:
mode:
authorPeter Maydell2011-02-10 17:53:04 +0100
committerAurelien Jarno2011-03-03 23:33:45 +0100
commit4e6557124c2b48725d092fded67e71f0bf78415f (patch)
tree25aec0bb9c774e24a0d6a2c4a2bb86f79eb156bc /linux-user/mips/syscall_nr.h
parentvirtio-net: Fix lduw_p() pointer argument of wrong size (diff)
downloadqemu-4e6557124c2b48725d092fded67e71f0bf78415f.tar.gz
qemu-4e6557124c2b48725d092fded67e71f0bf78415f.tar.xz
qemu-4e6557124c2b48725d092fded67e71f0bf78415f.zip
linux-user: fix compile failure if !CONFIG_USE_GUEST_BASE
If CONFIG_USE_GUEST_BASE is not defined, gcc complains: linux-user/mmap.c:235: error: comparison of unsigned expression >= 0 is always true because RESERVED_VA is #defined to 0. Since mmap_find_vma_reserved() will never be called anyway if RESERVED_VA is always 0, fix this by simply #ifdef'ing away the function and its callsite. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user/mips/syscall_nr.h')
0 files changed, 0 insertions, 0 deletions