diff options
author | Mitch Hayenga <mitch.hayenga@arm.com> | 2014-08-26 10:13:31 -0400 |
---|---|---|
committer | Mitch Hayenga <mitch.hayenga@arm.com> | 2014-08-26 10:13:31 -0400 |
commit | 0da99b7e0c40d924c8555ef41c38d361ea6c626d (patch) | |
tree | 8475b7318ee9cf753f1136732099e2a0f9d21983 /src/arch/mips | |
parent | 61b8d5e4e4b27010f5dd757a34e7295bb5dd10ff (diff) | |
download | gem5-0da99b7e0c40d924c8555ef41c38d361ea6c626d.tar.xz |
mips: Fix RLIMIT_RSS naming
MIPS defined RLIMIT_RSS in a way that could cause a naming conflict with
RLIMIT_RSS from the host system. Broke clang+MacOS build.
Diffstat (limited to 'src/arch/mips')
-rw-r--r-- | src/arch/mips/linux/linux.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/mips/linux/linux.hh b/src/arch/mips/linux/linux.hh index 6ae5b1717..992bbf85d 100644 --- a/src/arch/mips/linux/linux.hh +++ b/src/arch/mips/linux/linux.hh @@ -117,7 +117,7 @@ class MipsLinux : public Linux /// Resource constants for getrlimit() (overide some generics). static const unsigned TGT_RLIMIT_NPROC = 8; static const unsigned TGT_RLIMIT_AS = 6; - static const unsigned RLIMIT_RSS = 7; + static const unsigned TGT_RLIMIT_RSS = 7; static const unsigned TGT_RLIMIT_NOFILE = 5; static const unsigned TGT_RLIMIT_MEMLOCK = 9; |