From: Ron Dreslinski Date: Mon, 9 Oct 2006 21:18:34 +0000 (-0400) Subject: Fix a bitwise operation that was accidentally a logical operation. X-Git-Tag: m5_2.0_beta2~73^2~19^2~6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd27c229b6bae09098864361dd6e51065fbaec3c;p=gem5.git Fix a bitwise operation that was accidentally a logical operation. --HG-- extra : convert_revision : 30f64bcb6bea47fd8cd6d77b0df17eff04dbbad0 --- 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); } }