Fix a missing pointer
authorRon Dreslinski <rdreslin@umich.edu>
Sat, 7 Oct 2006 16:55:37 +0000 (12:55 -0400)
committerRon Dreslinski <rdreslin@umich.edu>
Sat, 7 Oct 2006 16:55:37 +0000 (12:55 -0400)
--HG--
extra : convert_revision : 2056b530d48fd004ab700f09e58f44adae3ea0e9

src/mem/cache/base_cache.cc

index 4b62073d8e0706e0f2fd374abd00ba398a778be1..d7ccca8c0c0cb2d5ceb3b1c42e4ba33316963531 100644 (file)
@@ -211,7 +211,7 @@ BaseCache::CacheEvent::process()
     //Know the packet to send
     pkt->result = Packet::Success;
     pkt->makeTimingResponse();
-    if (!drainList.empty()) {
+    if (!cachePort->drainList.empty()) {
         //Already blocked waiting for bus, just append
         cachePort->drainList.push_back(pkt);
     }