summaryrefslogtreecommitdiff
path: root/src/arch/power
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2011-05-23 14:29:23 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2011-05-23 14:29:23 -0700
commit8d29bda74211f4ff1804aeeb05b2795b549036f7 (patch)
treeddf4ed45b6f56efab93e27812f1fca0eb3cbfece /src/arch/power
parent19bb896bfeffc0b49197f5b2d8395a6ee4c5e94d (diff)
downloadgem5-8d29bda74211f4ff1804aeeb05b2795b549036f7.tar.xz
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.
Diffstat (limited to 'src/arch/power')
-rw-r--r--src/arch/power/linux/linux.hh2
1 files changed, 1 insertions, 1 deletions
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.