summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2008-11-05 16:19:17 -0500
committerLisa Hsu <hsul@eecs.umich.edu>2008-11-05 16:19:17 -0500
commit46b56bb7b6ac2a5f069aa1f79279f46d0395eb15 (patch)
tree2dc6e08e6f15d6447722f2454caf109cf9c27bad /src
parent07969dbbf1a737e666b5ba6d34cd7cf2b403a9ad (diff)
downloadgem5-46b56bb7b6ac2a5f069aa1f79279f46d0395eb15.tar.xz
Fix SPARC_FS compile
Diffstat (limited to 'src')
-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) {