From 43225bc8042b32d52b31c788daee1e42bd1fa28e Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 22 Nov 2005 00:07:02 +0000 Subject: EPIA-M fixup git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2090 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/lib/cpu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/arch/i386') diff --git a/src/arch/i386/lib/cpu.c b/src/arch/i386/lib/cpu.c index 628bb79e91..11ccee211f 100644 --- a/src/arch/i386/lib/cpu.c +++ b/src/arch/i386/lib/cpu.c @@ -234,11 +234,13 @@ void cpu_initialize(void) // Check that we haven't been passed bad information as the result of a race // (i.e. BSP timed out while waiting for us to load secondary_stack) +#if CONFIG_SMP || CONFIG_IOPIC if (cpu->path.u.apic.apic_id != lapicid()) { printk_err("CPU #%d Initialization FAILED: APIC ID mismatch (%u != %u)\n", info->index, cpu->path.u.apic.apic_id, lapicid()); // return without setting initialized flag } else { +#endif /* Find what type of cpu we are dealing with */ identify_cpu(cpu); printk_debug("CPU: vendor %s device %x\n", @@ -255,8 +257,10 @@ void cpu_initialize(void) } printk_info("CPU #%d Initialized\n", info->index); - } +#if CONFIG_SMP || CONFIG_IOPIC + } +#endif return; } -- cgit v1.2.3