summaryrefslogtreecommitdiff
path: root/src/mem/physical.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/physical.hh')
-rw-r--r--src/mem/physical.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/physical.hh b/src/mem/physical.hh
index d18138ecd..2a3bea7a5 100644
--- a/src/mem/physical.hh
+++ b/src/mem/physical.hh
@@ -129,11 +129,11 @@ class PhysicalMemory : public MemObject
Request *req = pkt->req;
if (lockedAddrList.empty()) {
// no locked addrs: nothing to check, store_conditional fails
- bool isLocked = pkt->isLocked();
- if (isLocked) {
+ bool isLlsc = pkt->isLlsc();
+ if (isLlsc) {
req->setExtraData(0);
}
- return !isLocked; // only do write if not an sc
+ return !isLlsc; // only do write if not an sc
} else {
// iterate over list...
return checkLockedAddrList(pkt);