mem-cache: Fix non-bijective function in Skewed caches
[gem5.git] / src / mem / cache / base.hh
index 4ba256b95dbef1a521abd5a50da54bbe040a9ba8..4ebc52493c27a5a44f6dd33d104ff38c569c4a97 100644 (file)
@@ -506,7 +506,7 @@ class BaseCache : public MemObject
      * @param writebacks A list with packets for any performed writebacks
      * @return Cycles for handling the request
      */
-    virtual Cycles handleAtomicReqMiss(PacketPtr pkt, CacheBlk *blk,
+    virtual Cycles handleAtomicReqMiss(PacketPtr pkt, CacheBlk *&blk,
                                        PacketList &writebacks) = 0;
 
     /**