diff options
Diffstat (limited to 'src/mem/cache/cache_impl.hh')
-rw-r--r-- | src/mem/cache/cache_impl.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index 57ebff322..ff35a0749 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -342,8 +342,8 @@ Cache<TagStore,Coherence>::handleFill(BlkType *blk, MSHR * mshr, target->getPtr<uint8_t>(), target->getSize()); } } else { - if (pkt->req->isLocked()) { - blk->trackLoadLocked(pkt->req); + if (target->req->isLocked()) { + blk->trackLoadLocked(target->req); } std::memcpy(target->getPtr<uint8_t>(), blk->data + target->getOffset(blkSize), |