From: Steve Reinhardt Date: Thu, 26 Aug 2010 15:03:20 +0000 (-0700) Subject: mem: fix m5.fast compile bug in previous cset X-Git-Tag: stable_2012_02_02~836 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ffc4505f7dde4966391c49aa9138bb475cf25cb;p=gem5.git mem: fix m5.fast compile bug in previous cset --- diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index c930a886d..9e3374fea 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -1103,7 +1103,7 @@ Cache::handleSnoop(PacketPtr pkt, BlkType *blk, // responds in atomic mode, so remember a few things about the // original packet up front bool invalidate = pkt->isInvalidate(); - bool needs_exclusive = pkt->needsExclusive(); + bool M5_VAR_USED needs_exclusive = pkt->needsExclusive(); if (forwardSnoops) { // first propagate snoop upward to see if anyone above us wants to