From b49e1e3845d34314dab3c755220089e27cb1bc6b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 24 Nov 2009 09:41:06 -0500 Subject: [PATCH] Set MaxCountCPUs even if no APIC found. Signed-off-by: Gleb Natapov --- src/smp.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5