diff options
author | Kevin Lim <ktlim@umich.edu> | 2007-02-06 15:54:44 -0500 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2007-02-06 15:54:44 -0500 |
commit | 310d8f0992637d69e270cac727ba0ff968cdb6ea (patch) | |
tree | 1ddc995fba06b698520b7cdab0caa3ab15e3e067 /src | |
parent | 17cbfe55fdd80ccd4c9c33ade3b636ba793def56 (diff) | |
download | gem5-310d8f0992637d69e270cac727ba0ff968cdb6ea.tar.xz |
Fix for LL/SC that Ron sent me.
--HG--
extra : convert_revision : b3510a23d8a9eb466939f38491a109c3a65a7363
Diffstat (limited to 'src')
-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 b8c896498..10c244b8e 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), |