summaryrefslogtreecommitdiff
path: root/src/arch/sparc/ua2005.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-10-31 02:58:24 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-10-31 02:58:24 -0700
commiteeb85a8575d4bff6bc054bafe295e8758f2d0ded (patch)
treebf097dd61ae2c357af1d92ce44d5b845c04ee0be /src/arch/sparc/ua2005.cc
parent8ad2b8c5596b817267fbf7a39e6ce28ffb49789c (diff)
downloadgem5-eeb85a8575d4bff6bc054bafe295e8758f2d0ded.tar.xz
SE/FS: Remove the last uses of FULL_SYSTEM from SPARC.
Diffstat (limited to 'src/arch/sparc/ua2005.cc')
-rw-r--r--src/arch/sparc/ua2005.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/sparc/ua2005.cc b/src/arch/sparc/ua2005.cc
index 70c8c18e6..e6ab64de9 100644
--- a/src/arch/sparc/ua2005.cc
+++ b/src/arch/sparc/ua2005.cc
@@ -36,6 +36,7 @@
#include "debug/Quiesce.hh"
#include "debug/Timer.hh"
#include "sim/system.hh"
+#include "sim/full_system.hh"
using namespace SparcISA;
using namespace std;
@@ -224,10 +225,8 @@ ISA::setFSReg(int miscReg, const MiscReg &val, ThreadContext *tc)
DPRINTF(Quiesce, "Cpu executed quiescing instruction\n");
// Time to go to sleep
tc->suspend();
-#if FULL_SYSTEM
- if (tc->getKernelStats())
+ if (FullSystem && tc->getKernelStats())
tc->getKernelStats()->quiesce();
-#endif
}
break;