summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/cache.cc')
-rw-r--r--src/mem/cache/cache.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mem/cache/cache.cc b/src/mem/cache/cache.cc
index e3f2777ef..db982c1f0 100644
--- a/src/mem/cache/cache.cc
+++ b/src/mem/cache/cache.cc
@@ -1318,7 +1318,7 @@ Cache::recvTimingResp(PacketPtr pkt)
DPRINTF(Cache, "Block for addr %#llx being updated in Cache\n",
pkt->getAddr());
- blk = handleFill(pkt, blk, writebacks, mshr->allocOnFill);
+ blk = handleFill(pkt, blk, writebacks, mshr->allocOnFill());
assert(blk != nullptr);
}
@@ -1369,7 +1369,8 @@ Cache::recvTimingResp(PacketPtr pkt)
// any deferred targets if possible
mshr->promoteWritable();
// NB: we use the original packet here and not the response!
- blk = handleFill(tgt_pkt, blk, writebacks, mshr->allocOnFill);
+ blk = handleFill(tgt_pkt, blk, writebacks,
+ mshr->allocOnFill());
assert(blk != nullptr);
// treat as a fill, and discard the invalidation