lkml.org 
[lkml]   [2003]   [Apr]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 9 Apr 2003 09:07:11 +0400
Subject[PATCH] fix visws breakage in 2.5.67
FromAndrey Panin <>
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.

-- 
Andrey Panin		| Embedded systems software developer
pazke@orbita1.ru	| PGP key: wwwkeys.pgp.netdiff -urN -X /usr/share/dontdiff linux-2.5.67.vanilla/arch/i386/kernel/smpboot.c linux-2.5.67/arch/i386/kernel/smpboot.c
--- linux-2.5.67.vanilla/arch/i386/kernel/smpboot.c	Wed Apr  9 19:43:46 2003
+++ linux-2.5.67/arch/i386/kernel/smpboot.c	Wed Apr  9 19:16:46 2003
@@ -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();
 }
 
\
 
 \ /
  Last update: 2005-03-22 12:34    [from the cache]
©2003-2008