changeset 9209138dbef2 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=9209138dbef2 description: eventq: I'm sick of the warning about MaxTick being unused.
diffstat: 1 file changed, 1 deletion(-) src/sim/host.hh | 1 - diffs (21 lines): diff -r 5bad83cddb8c -r 9209138dbef2 src/sim/host.hh --- a/src/sim/host.hh Thu Oct 09 04:58:23 2008 -0700 +++ b/src/sim/host.hh Thu Oct 09 04:58:23 2008 -0700 @@ -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 Tick; -const Tick MaxTick = std::numeric_limits<Tick>::max(); +const Tick MaxTick = LL(0x7fffffffffffffff); /** * Address type _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
