diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-10-09 17:18:34 -0400 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-10-09 17:18:34 -0400 |
commit | fd27c229b6bae09098864361dd6e51065fbaec3c (patch) | |
tree | 4b671fa371b4d74f3101dc6d777436f9494e09cd /src/mem | |
parent | b9fb4d4870dd45c552fd4cd5e531e9626754f19f (diff) | |
download | gem5-fd27c229b6bae09098864361dd6e51065fbaec3c.tar.xz |
Fix a bitwise operation that was accidentally a logical operation.
--HG--
extra : convert_revision : 30f64bcb6bea47fd8cd6d77b0df17eff04dbbad0
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/cache/cache_impl.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index 8d028e97f..7764b97c1 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -73,7 +73,7 @@ doTimingAccess(Packet *pkt, CachePort *cachePort, bool isCpuSide) handleResponse(pkt); else { //Check if we should do the snoop - if (pkt->flags && SNOOP_COMMIT) + if (pkt->flags & SNOOP_COMMIT) snoop(pkt); } } |