From 57a78b2115759df0cc1e65c6816c995572c3f6a7 Mon Sep 17 00:00:00 2001 From: Tony Gutierrez Date: Thu, 2 Jul 2020 14:03:07 -0400 Subject: [PATCH] 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 --- src/sim/system.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2