mem-cache: Fix non-bijective function in Skewed caches
[gem5.git] / src / mem / cache / cache.cc
index 9b161290458313fc5182c2730b058d32f0fafc33..1b5316383d1f38d628b45870fa0671272a2bd7de 100644 (file)
@@ -560,7 +560,7 @@ Cache::createMissPacket(PacketPtr cpu_pkt, CacheBlk *blk,
 
 
 Cycles
-Cache::handleAtomicReqMiss(PacketPtr pkt, CacheBlk *blk,
+Cache::handleAtomicReqMiss(PacketPtr pkt, CacheBlk *&blk,
                            PacketList &writebacks)
 {
     // deal with the packets that go through the write path of