summaryrefslogtreecommitdiff
path: root/src/dev/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/sparc')
-rw-r--r--src/dev/sparc/iob.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/sparc/iob.cc b/src/dev/sparc/iob.cc
index f99ee5804..4543dd07b 100644
--- a/src/dev/sparc/iob.cc
+++ b/src/dev/sparc/iob.cc
@@ -276,7 +276,7 @@ void
Iob::generateIpi(Type type, int cpu_id, int vector)
{
SparcISA::SparcFault<SparcISA::PowerOnReset> *por = new SparcISA::PowerOnReset();
- if (cpu_id >= sys->getNumCPUs())
+ if (cpu_id >= sys->numContexts())
return;
switch (type) {