lkml.org 
[lkml]   [2000]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix SMP kernel on SMP MoBo with APIC-less CPU
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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.053 / U:1.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site