[PATCH] fix SMP kernel on SMP MoBo with APIC-less CPU

From: Christoph Hellwig (hch@ns.lst.de)
Date: Tue Aug 08 2000 - 03:52:52 EST


The Subjecy says it all:
This patch fixes booting of a SMP-compiled i386 kernel on a SMP-capable
motherboard with (one) non SMP-capable (= APIC-less) CPU.
Example: AMD K6 in a dual i430TX board.

        Christoph

-- 
Always remember that you are unique.  Just like everyone else.

--- linux/arch/i386/kernel/setup.c~ Fri Jul 7 04:42:06 2000 +++ linux/arch/i386/kernel/setup.c Tue Jul 18 19:22:48 2000 @@ -723,7 +723,8 @@ /* * get boot-time SMP configuration: */ - if (smp_found_config) + if (smp_found_config && /* try only if the cpu has a local apic */ + (boot_cpu_data.x86_capability & X86_FEATURE_APIC)) get_smp_config(); #endif #ifdef CONFIG_X86_LOCAL_APIC

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:14 EST