Fix SPARC_FS compile

This commit is contained in:
Lisa Hsu 2008-11-05 16:19:17 -05:00
parent 07969dbbf1
commit 46b56bb7b6

View file

@ -276,7 +276,7 @@ void
Iob::generateIpi(Type type, int cpu_id, int vector) Iob::generateIpi(Type type, int cpu_id, int vector)
{ {
SparcISA::SparcFault<SparcISA::PowerOnReset> *por = new SparcISA::PowerOnReset(); SparcISA::SparcFault<SparcISA::PowerOnReset> *por = new SparcISA::PowerOnReset();
if (cpu_id >= sys->getNumCPUs()) if (cpu_id >= sys->numContexts())
return; return;
switch (type) { switch (type) {