From: Gabe Black Date: Fri, 24 Nov 2006 19:00:00 +0000 (-0500) Subject: Fix an include problem. X-Git-Tag: m5_2.0_beta3~305 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96a6af98e2f088c5c573b371d65e7a9be17fe534;p=gem5.git Fix an include problem. --HG-- extra : convert_revision : 89be55bd3f4f9b452a680a98b69ce42b80546769 --- diff --git a/src/arch/sparc/intregfile.cc b/src/arch/sparc/intregfile.cc index 6250b1810..0a8ac055f 100644 --- a/src/arch/sparc/intregfile.cc +++ b/src/arch/sparc/intregfile.cc @@ -31,6 +31,7 @@ #include "arch/sparc/intregfile.hh" #include "base/trace.hh" +#include "base/misc.hh" #include "sim/serialize.hh" #include @@ -83,7 +84,8 @@ IntReg IntRegFile::readReg(int intReg) else if((intReg -= NumIntArchRegs) < NumMicroIntRegs) val = microRegs[intReg]; else - panic("Tried to read non-existant integer register %d, %d\n", NumIntArchRegs + NumMicroIntRegs + intReg, intReg); + panic("Tried to read non-existant integer register %d, %d\n", + NumIntArchRegs + NumMicroIntRegs + intReg, intReg); DPRINTF(Sparc, "Read register %d = 0x%x\n", intReg, val); return val;