summaryrefslogtreecommitdiff
path: root/src/arch/sparc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-11-05 07:20:03 -0800
committerNathan Binkert <nate@binkert.org>2008-11-05 07:20:03 -0800
commit44839d6b716f2eb25eabc57fe588a129e290e51c (patch)
tree1c9f185ef39cc749f23d2a1b462f05171f862c63 /src/arch/sparc
parent46b56bb7b6ac2a5f069aa1f79279f46d0395eb15 (diff)
downloadgem5-44839d6b716f2eb25eabc57fe588a129e290e51c.tar.xz
Fix a few more places where the context stuff wasn't changed
Diffstat (limited to 'src/arch/sparc')
-rw-r--r--src/arch/sparc/ua2005.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/ua2005.cc b/src/arch/sparc/ua2005.cc
index 502033d97..2389c963d 100644
--- a/src/arch/sparc/ua2005.cc
+++ b/src/arch/sparc/ua2005.cc
@@ -257,7 +257,7 @@ MiscRegFile::readFSReg(int miscReg, ThreadContext * tc)
temp = readRegNoEffect(miscReg) & (STS::active | STS::speculative);
// Check that the CPU array is fully populated
// (by calling getNumCPus())
- assert(sys->getNumContexts() > tc->contextId());
+ assert(sys->numContexts() > tc->contextId());
temp |= tc->contextId() << STS::shft_id;