From 8d29bda74211f4ff1804aeeb05b2795b549036f7 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Mon, 23 May 2011 14:29:23 -0700 Subject: syscall emul: fix Power Linux mmap constant, plus other cleanup We were getting a spurious warning in the regressions that turned out to be due to having the wrong value for TGT_MAP_ANONYMOUS for Power Linux, but in the process of tracking it down I ended up doing some cleanup of the mmap handling in general. --- src/arch/power/linux/linux.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/power') diff --git a/src/arch/power/linux/linux.hh b/src/arch/power/linux/linux.hh index c681c8baf..1bfc9cbd8 100644 --- a/src/arch/power/linux/linux.hh +++ b/src/arch/power/linux/linux.hh @@ -126,7 +126,7 @@ class PowerLinux : public Linux //@} /// For mmap(). - static const unsigned TGT_MAP_ANONYMOUS = 0x800; + static const unsigned TGT_MAP_ANONYMOUS = 0x20; //@{ /// ioctl() command codes. -- cgit v1.2.3