From 0b83563a9c7368ffdb82d70054ceda3cb7f3828f Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 9 Oct 2008 04:58:23 -0700 Subject: [PATCH] eventq: I'm sick of the warning about MaxTick being unused. --- src/sim/host.hh | 4 +--- 1 file changed, 1 insertion(+), 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 -#include - /** 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::max(); +const Tick MaxTick = LL(0x7fffffffffffffff); /** * Address type