From 310d8f0992637d69e270cac727ba0ff968cdb6ea Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Tue, 6 Feb 2007 15:54:44 -0500 Subject: [PATCH] Fix for LL/SC that Ron sent me. --HG-- extra : convert_revision : b3510a23d8a9eb466939f38491a109c3a65a7363 --- src/mem/cache/cache_impl.hh | 4 ++-- 1 file 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::handleFill(BlkType *blk, MSHR * mshr, target->getPtr(), target->getSize()); } } else { - if (pkt->req->isLocked()) { - blk->trackLoadLocked(pkt->req); + if (target->req->isLocked()) { + blk->trackLoadLocked(target->req); } std::memcpy(target->getPtr(), blk->data + target->getOffset(blkSize), -- 2.30.2