Fix EVENTQ_DEBUG vs DEBUG_EVENTQ #define inconsistency.
authorSteve Reinhardt <Steve.Reinhardt@amd.com>
Tue, 30 Sep 2008 06:30:14 +0000 (23:30 -0700)
committerSteve Reinhardt <Steve.Reinhardt@amd.com>
Tue, 30 Sep 2008 06:30:14 +0000 (23:30 -0700)
src/sim/eventq.hh

index d172c73dad68a33778a4654dfcde614a0f3c9f3a..967e558db930702004e47ea76fce42a8ff3b4ac4 100644 (file)
@@ -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
     }