From: Christoph Hellwig <hch@infradead.org>
To: Philipp Matthias Hahn <pmhahn@titan.lahn.de>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [BUG] skip_ioapic_setup
Date: Tue, 16 Apr 2002 20:43:46 +0100 [thread overview]
Message-ID: <20020416204346.A11615@infradead.org> (raw)
In-Reply-To: <Pine.LNX.4.21.0204160049130.18896-100000@freak.distro.conectiva> <20020416112037.GA9185@titan.lahn.de>
On Tue, Apr 16, 2002 at 01:20:37PM +0200, Philipp Matthias Hahn wrote:
>
> skip_ioapic_setup is defined in arch/i386/io_apic.c, which is
> conditionally compiled only, if CONFIG_X86_IO_APIC is defined. which is
> only defined for SMP or when CONFIG_X86_UP_IOAPIC is set.
>
> init/main.c:332 and arch/i386/kernel/dmi_scan.c:357 do both use it and
> don't depend on CONFIG_X86_IO_APIC themselves.
This patch should fix it:
diff -uNr -Xdontdiff linux-2.4.19-pre7/arch/i386/kernel/dmi_scan.c linux/arch/i386/kernel/dmi_scan.c
--- linux-2.4.19-pre7/arch/i386/kernel/dmi_scan.c Tue Apr 16 20:49:06 2002
+++ linux/arch/i386/kernel/dmi_scan.c Tue Apr 16 20:56:03 2002
@@ -362,7 +362,7 @@
printk(KERN_INFO " *** If you see IRQ problems, in paticular SCSI resets and hangs at boot\n");
printk(KERN_INFO " *** contact your hardware vendor and ask about updates.\n");
printk(KERN_INFO " *** Building an SMP kernel may evade the bug some of the time.\n");
-#ifdef CONFIG_X86_UP_APIC
+#ifdef CONFIG_X86_UP_IOAPIC
skip_ioapic_setup = 0;
#endif
return 0;
diff -uNr -Xdontdiff linux-2.4.19-pre7/init/main.c linux/init/main.c
--- linux-2.4.19-pre7/init/main.c Tue Apr 16 20:47:46 2002
+++ linux/init/main.c Tue Apr 16 20:59:56 2002
@@ -296,8 +296,7 @@
extern int skip_ioapic_setup;
static void __init smp_init(void)
{
- if (!skip_ioapic_setup)
- APIC_init_uniprocessor();
+ APIC_init_uniprocessor();
}
#else
#define smp_init() do { } while (0)
next prev parent reply other threads:[~2002-04-16 19:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-16 3:50 Linux 2.4.19-pre7 Marcelo Tosatti
2002-04-16 8:57 ` Gerd Knorr
2002-04-16 9:30 ` Tommi Kyntola
2002-04-16 10:00 ` Wade
2002-04-16 10:35 ` Gerd Knorr
2002-04-16 19:56 ` Khalid Aziz
2002-04-17 0:18 ` skidley
2002-04-17 1:17 ` Khalid Aziz
2002-04-16 19:58 ` Bongani
2002-04-16 11:20 ` [BUG] skip_ioapic_setup Philipp Matthias Hahn
2002-04-16 19:43 ` Christoph Hellwig [this message]
2002-04-16 14:17 ` Linux 2.4.19-pre7 Andrea Arcangeli
2002-04-16 19:47 ` Christoph Hellwig
2002-04-23 12:16 ` Marcelo Tosatti
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=20020416204346.A11615@infradead.org \
--to=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmhahn@titan.lahn.de \
/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