summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-10-09 04:58:23 -0700
committerNathan Binkert <nate@binkert.org>2008-10-09 04:58:23 -0700
commit0b83563a9c7368ffdb82d70054ceda3cb7f3828f (patch)
treea6ec37e1a4f2af40dd0f32e33756ac5b8c8b5f21 /src/sim
parent7cc2a88038ccfd828a0caa7aa9d1b758d096d37d (diff)
downloadgem5-0b83563a9c7368ffdb82d70054ceda3cb7f3828f.tar.xz
eventq: I'm sick of the warning about MaxTick being unused.
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/host.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sim/host.hh b/src/sim/host.hh
index 518873ab3..dd29534fd 100644
--- a/src/sim/host.hh
+++ b/src/sim/host.hh
@@ -38,8 +38,6 @@
#define __HOST_HH__
#include <inttypes.h>
-#include <limits>
-
/** uint64_t constant */
#define ULL(N) ((uint64_t)N##ULL)
@@ -58,7 +56,7 @@ typedef int64_t Counter;
*/
typedef int64_t Tick;
-const Tick MaxTick = std::numeric_limits<Tick>::max();
+const Tick MaxTick = LL(0x7fffffffffffffff);
/**
* Address type