From 46b56bb7b6ac2a5f069aa1f79279f46d0395eb15 Mon Sep 17 00:00:00 2001 From: Lisa Hsu Date: Wed, 5 Nov 2008 16:19:17 -0500 Subject: [PATCH] Fix SPARC_FS compile --- src/dev/sparc/iob.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2