summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Reinhardt <Steve.Reinhardt@amd.com>2008-09-29 23:30:14 -0700
committerSteve Reinhardt <Steve.Reinhardt@amd.com>2008-09-29 23:30:14 -0700
commit45cba35fc11bbe4e57d9615cfbb79580904ef820 (patch)
treecd053638409f69c6f4653ccf85fba7c8ef9b4c97 /src
parent1e9c428522144cb8df931e89314963ce8054a9d9 (diff)
downloadgem5-45cba35fc11bbe4e57d9615cfbb79580904ef820.tar.xz
Fix EVENTQ_DEBUG vs DEBUG_EVENTQ #define inconsistency.
Diffstat (limited to 'src')
-rw-r--r--src/sim/eventq.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh
index d172c73da..967e558db 100644
--- a/src/sim/eventq.hh
+++ b/src/sim/eventq.hh
@@ -109,7 +109,7 @@ class Event : public Serializable, public FastAlloc
Counter instance;
#endif
-#ifdef DEBUG_EVENTQ
+#ifdef EVENTQ_DEBUG
Tick whenCreated; //!< time created
Tick whenScheduled; //!< time scheduled
#endif
@@ -119,7 +119,7 @@ class Event : public Serializable, public FastAlloc
setWhen(Tick when)
{
_when = when;
-#ifdef DEBUG_EVENTQ
+#ifdef EVENTQ_DEBUG
whenScheduled = curTick;
#endif
}