summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-10-19 23:34:59 -0700
committerNathan Binkert <binkertn@umich.edu>2006-10-19 23:34:59 -0700
commitb937d5451061cf76842163305fbc411f02b80ed5 (patch)
tree8fe9c657163270e320adbc7262b312cfa82fa613 /src/mem
parent0d2908a584df5df0bf4f693d947cb0b7b41afdcc (diff)
downloadgem5-b937d5451061cf76842163305fbc411f02b80ed5.tar.xz
Fix compile of m5.fast
--HG-- extra : convert_revision : a8a37c318e55e48e697e4aaba339328f000b3f60
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/bus.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mem/bus.cc b/src/mem/bus.cc
index b11b6de58..b3cc6099c 100644
--- a/src/mem/bus.cc
+++ b/src/mem/bus.cc
@@ -160,9 +160,12 @@ Bus::recvTiming(Packet *pkt)
short dest = pkt->getDest();
if (dest == Packet::Broadcast) {
if (timingSnoop(pkt)) {
+ bool success;
+
pkt->flags |= SNOOP_COMMIT;
- bool success = timingSnoop(pkt);
+ success = timingSnoop(pkt);
assert(success);
+
if (pkt->flags & SATISFIED) {
//Cache-Cache transfer occuring
if (inRetry) {