From: Greg KH <greg@kroah.com>
To: mingo@redhat.com, linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.17 fix for running a SMP kernel on a UP box
Date: Tue, 21 May 2002 14:52:17 -0700 [thread overview]
Message-ID: <20020521215217.GA3784@kroah.com> (raw)
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];
next reply other threads:[~2002-05-21 21:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-21 21:52 Greg KH [this message]
2002-05-22 2:36 ` [PATCH] 2.5.17 fix for running a SMP kernel on a UP box James Cleverdon
2002-05-22 17:10 ` Jack F. Vogel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020521215217.GA3784@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox