summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2003-12-09 16:43:54 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2003-12-09 16:43:54 -0800
commit3d8cd2046792b6f3b270e80bad79f2aec921761b (patch)
treea98895b0f17b95a9a696fac9617e5f7a5539ec3a
parenta1dcdeb3d85031e851bb9227a9b1fb2b20e3172d (diff)
parent06aafccce712a273268283dfc2d8ab3733538173 (diff)
downloadgem5-3d8cd2046792b6f3b270e80bad79f2aec921761b.tar.xz
Merge zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
--HG-- extra : convert_revision : c8d6f2e6f590b7d1940b889bbec09e0e46f48c86
-rw-r--r--base/hashmap.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/hashmap.hh b/base/hashmap.hh
index 10089980b..995e98a90 100644
--- a/base/hashmap.hh
+++ b/base/hashmap.hh
@@ -57,6 +57,7 @@ namespace m5 {
//
namespace __hash_namespace {
+#if !defined(__LP64__)
template<>
struct hash<uint64_t> {
size_t operator()(uint64_t r) const {
@@ -65,11 +66,12 @@ namespace __hash_namespace {
};
template<>
- struct hash<Counter> {
- size_t operator()(Counter r) const {
+ struct hash<int64_t> {
+ size_t operator()(int64_t r) const {
return r;
};
};
+#endif
template<>
struct hash<std::string> {