linux-user: fix build errors for mmap2-only ports
authorMike Frysinger <vapier@gentoo.org>
Mon, 7 Feb 2011 06:05:57 +0000 (01:05 -0500)
committerRiku Voipio <riku.voipio@nokia.com>
Wed, 9 Feb 2011 08:33:54 +0000 (10:33 +0200)
commit8d9016c0919bab1fdf3a36c0f72d012924bb7efd
tree87836c7587e34eebee4e8ffc9452c5d3d17330c0
parent2296f194dfde4c0a54f249d3fdb8c8ca21dc611b
linux-user: fix build errors for mmap2-only ports

The current print_mmap func is only enabled when the target supports the
mmap syscall, but both mmap and mmap2 syscalls use it.  This leads to a
build failure when the target supports mmap2 but not mmap.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
linux-user/strace.c