projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b8d5e
)
mips: Fix RLIMIT_RSS naming
author
Mitch Hayenga
<mitch.hayenga@arm.com>
Tue, 26 Aug 2014 14:13:31 +0000
(10:13 -0400)
committer
Mitch Hayenga
<mitch.hayenga@arm.com>
Tue, 26 Aug 2014 14:13:31 +0000
(10:13 -0400)
MIPS defined RLIMIT_RSS in a way that could cause a naming conflict with
RLIMIT_RSS from the host system. Broke clang+MacOS build.
src/arch/mips/linux/linux.hh
patch
|
blob
|
history
diff --git
a/src/arch/mips/linux/linux.hh
b/src/arch/mips/linux/linux.hh
index 6ae5b1717997ae74206278a6d6a9d6e2e07a86a2..992bbf85d775462c382bdbfd7f952c5afe21ca2c 100644
(file)
--- 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;