From: Lisa Hsu Date: Wed, 5 Nov 2008 21:19:17 +0000 (-0500) Subject: Fix SPARC_FS compile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46b56bb7b6ac2a5f069aa1f79279f46d0395eb15;p=gem5.git Fix SPARC_FS compile --- 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 *por = new SparcISA::PowerOnReset(); - if (cpu_id >= sys->getNumCPUs()) + if (cpu_id >= sys->numContexts()) return; switch (type) {