diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-11-24 09:41:06 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-11-24 09:41:06 -0500 |
commit | b49e1e3845d34314dab3c755220089e27cb1bc6b (patch) | |
tree | 7eafd79f1c02e1e4fb3b36a0bf752117e91d0d86 | |
parent | 2be312c112a5ccfcd165f7ba3276e3aaf33ee92c (diff) | |
download | seabios-b49e1e3845d34314dab3c755220089e27cb1bc6b.tar.gz |
Set MaxCountCPUs even if no APIC found.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
-rw-r--r-- | src/smp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |