Skip to contentSkip to conversation

fix visws breakage in 2.5.67

PATCH New Andrey Panin 1 participant 1 message Apr 9, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix visws breakage in 2.5.67

Hi,

someone broke visws again :(

This patch fixes it by adding '#ifdef CONFIG_X86_IO_APIC' around call to setup_ioapic_dest() in smp_cpus_done().

Best regards.

Signature · 2 lines
Andrey Panin		| Embedded systems software developer
[email protected]	| PGP key: wwwkeys.pgp.net
arch/i386/kernel/smpboot.c +2 -0
diff -urN -X /usr/share/dontdiff linux-2.5.67.vanilla/arch/i386/kernel/smpboot.c linux-2.5.67/arch/i386/kernel/smpboot.c
@@ -1155,7 +1155,9 @@
 
 void __init smp_cpus_done(unsigned int max_cpus)
 {
+#ifdef CONFIG_X86_IO_APIC
 	setup_ioapic_dest(TARGET_CPUS);
+#endif
 	zap_low_mappings();
 }