summaryrefslogtreecommitdiff
path: root/src/cpu/minor/lsq.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/minor/lsq.cc')
-rw-r--r--src/cpu/minor/lsq.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/minor/lsq.cc b/src/cpu/minor/lsq.cc
index db57daa37..376e8a0ff 100644
--- a/src/cpu/minor/lsq.cc
+++ b/src/cpu/minor/lsq.cc
@@ -1578,6 +1578,12 @@ LSQ::LSQRequest::makePacket()
if (packet)
return;
+ // if the translation faulted, do not create a packet
+ if (fault != NoFault) {
+ assert(packet == NULL);
+ return;
+ }
+
packet = makePacketForRequest(request, isLoad, this, data);
/* Null the ret data so we know not to deallocate it when the
* ret is destroyed. The data now belongs to the ret and