public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.5.17 fix for running a SMP kernel on a UP box
@ 2002-05-21 21:52 Greg KH
  2002-05-22  2:36 ` James Cleverdon
  2002-05-22 17:10 ` Jack F. Vogel
  0 siblings, 2 replies; 3+ messages in thread
From: Greg KH @ 2002-05-21 21:52 UTC (permalink / raw)
  To: mingo, linux-kernel


I can't seem to run a SMP 2.5.17 kernel on a UP machine, it locks up
during the boot process.  In talking to Jack Vogel, he suggested I make
the following patch, which seems to solve the problem for me.  In
looking at the code, I have no idea of why this seems to work, so there
probably is a better fix out there.

Any suggestions?

thanks,

greg k-h



diff -Nru a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
--- a/arch/i386/kernel/io_apic.c	Tue May 21 14:47:06 2002
+++ b/arch/i386/kernel/io_apic.c	Tue May 21 14:47:06 2002
@@ -205,7 +205,7 @@
 } ____cacheline_aligned irq_balance_t;
 
 static irq_balance_t irq_balance[NR_IRQS] __cacheline_aligned
-			= { [ 0 ... NR_IRQS-1 ] = { 1, 0 } };
+			= { [ 0 ... NR_IRQS-1 ] = { 0, 0 } };
 
 extern unsigned long irq_affinity [NR_IRQS];
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-22 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-21 21:52 [PATCH] 2.5.17 fix for running a SMP kernel on a UP box Greg KH
2002-05-22  2:36 ` James Cleverdon
2002-05-22 17:10 ` Jack F. Vogel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox