summaryrefslogtreecommitdiff
path: root/src/dev/mips/backdoor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/mips/backdoor.cc')
-rwxr-xr-xsrc/dev/mips/backdoor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/mips/backdoor.cc b/src/dev/mips/backdoor.cc
index 313f12567..a1247fbd0 100755
--- a/src/dev/mips/backdoor.cc
+++ b/src/dev/mips/backdoor.cc
@@ -84,7 +84,7 @@ void
MipsBackdoor::startup()
{
system->setMipsAccess(pioAddr);
- mipsAccess->numCPUs = system->getNumCPUs();
+ mipsAccess->numCPUs = system->numContexts();
mipsAccess->kernStart = MipsISA::Phys2K0Seg(system->getKernelStart());
mipsAccess->kernEnd = MipsISA::Phys2K0Seg(system->getKernelEnd());
mipsAccess->entryPoint = MipsISA::Phys2K0Seg(system->getKernelEntry());