From: Tony Gutierrez Date: Thu, 2 Jul 2020 18:03:07 +0000 (-0400) Subject: sim: Add M5_VAR_USED to var used in dprint X-Git-Tag: v20.1.0.0~502 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57a78b2115759df0cc1e65c6816c995572c3f6a7;p=gem5.git sim: Add M5_VAR_USED to var used in dprint Change-Id: I8f8654b8546ee8df3d4acd1ccbc5080ad38764c1 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30896 Reviewed-by: Jason Lowe-Power Reviewed-by: Andreas Sandberg Maintainer: Gabe Black Maintainer: Andreas Sandberg Tested-by: kokoro --- diff --git a/src/sim/system.cc b/src/sim/system.cc index 7057a9742..7841ec033 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -179,7 +179,7 @@ System::Threads::quiesce(ContextID id) { auto &t = thread(id); # if THE_ISA != NULL_ISA - BaseCPU *cpu = t.context->getCpuPtr(); + BaseCPU M5_VAR_USED *cpu = t.context->getCpuPtr(); DPRINTFS(Quiesce, cpu, "quiesce()\n"); # endif t.quiesce();