summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-10-09 00:27:41 -0400
committerRon Dreslinski <rdreslin@umich.edu>2006-10-09 00:27:41 -0400
commit0087061681869c9aaab81c3797020b083a83d46a (patch)
tree81fdaea886a5564e7e9554936a05ba5d920595c7 /src
parent4f93c43d34f66b164cc67f87e7a75fc500a79fa6 (diff)
downloadgem5-0087061681869c9aaab81c3797020b083a83d46a.tar.xz
Don't create a response if one isn't needed.
--HG-- extra : convert_revision : 37bd230f527f64eb12779157869aae9dcfdde7fd
Diffstat (limited to 'src')
-rw-r--r--src/mem/cache/cache_impl.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh
index 9ce8f515d..ac2d7af8b 100644
--- a/src/mem/cache/cache_impl.hh
+++ b/src/mem/cache/cache_impl.hh
@@ -620,7 +620,9 @@ Cache<TagStore,Buffering,Coherence>::probe(Packet * &pkt, bool update, CachePort
lat = memSidePort->sendAtomic(busPkt);
//Be sure to flip the response to a request for coherence
- busPkt->makeAtomicResponse();
+ if (busPkt->needsResponse()) {
+ busPkt->makeAtomicResponse();
+ }
/* if (!(busPkt->flags & SATISFIED)) {
// blocked at a higher level, just return