From: Kevin O'Connor Date: Tue, 24 Nov 2009 14:41:06 +0000 (-0500) Subject: Set MaxCountCPUs even if no APIC found. X-Git-Tag: rel-0.5.0~30 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b49e1e3845d34314dab3c755220089e27cb1bc6b;p=seabios.git Set MaxCountCPUs even if no APIC found. Signed-off-by: Gleb Natapov --- diff --git a/src/smp.c b/src/smp.c index 7100476..00cf64b 100644 --- a/src/smp.c +++ b/src/smp.c @@ -75,7 +75,9 @@ smp_probe(void) cpuid(1, &eax, &ebx, &ecx, &cpuid_features); if (! (cpuid_features & CPUID_APIC)) { // No apic - only the main cpu is present. + dprintf(1, "No apic - only the main cpu is present.\n"); CountCPUs= 1; + MaxCountCPUs = 1; return; }