projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cc2a88
)
eventq: I'm sick of the warning about MaxTick being unused.
author
Nathan Binkert
<nate@binkert.org>
Thu, 9 Oct 2008 11:58:23 +0000
(
04:58
-0700)
committer
Nathan Binkert
<nate@binkert.org>
Thu, 9 Oct 2008 11:58:23 +0000
(
04:58
-0700)
src/sim/host.hh
patch
|
blob
|
history
diff --git
a/src/sim/host.hh
b/src/sim/host.hh
index 518873ab3daeef9b675c1f5ad1b7307931c46ad2..dd29534fd19dd03e24e9da3938f57c6dd0151ad3 100644
(file)
--- 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