From: Tom Marshall <tommy@home.tig-grr.com>
To: linux-kernel@vger.kernel.org
Subject: 2.4.21-pre7 broken for non-pci
Date: Tue, 8 Apr 2003 22:45:36 -0700 [thread overview]
Message-ID: <20030409054536.GA9982@home.tig-grr.com> (raw)
[I am not subscribed. Please cc: me on responses]
2.4.21-pre7 seems to have introduced a bug in non-pci machines. If pci is
not enabled, linkage is broken with unresolved symbol broken_440gx_bios.
Simple fix:
$ diff -u /usr/src/linux-2.4.21-pre7/arch/i386/kernel/dmi_scan.c arch/i386/kernel/dmi_scan.c
--- /usr/src/linux-2.4.21-pre7/arch/i386/kernel/dmi_scan.c 2003-04-05 16:43:31.000000000 -0800
+++ arch/i386/kernel/dmi_scan.c 2003-04-05 18:26:31.000000000 -0800
@@ -413,9 +413,13 @@
* On many (all we have checked) of these boxes the $PIRQ table is wrong.
* The MP1.4 table is right however and so SMP kernels tend to work.
*/
-
+
+#ifdef CONFIG_X86_IO_APIC
extern int skip_ioapic_setup;
+#endif
+#ifdef CONFIG_PCI
extern int broken_440gx_bios;
+#endif
extern unsigned int pci_probe;
static __init int broken_pirq(struct dmi_blacklist *d)
{
@@ -427,8 +431,10 @@
#ifdef CONFIG_X86_IO_APIC
skip_ioapic_setup = 0;
#endif
+#ifdef CONFIG_PCI
broken_440gx_bios = 1;
pci_probe |= PCI_BIOS_IRQ_SCAN;
+#endif
return 0;
}
reply other threads:[~2003-04-09 5:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030409054536.GA9982@home.tig-grr.com \
--to=tommy@home.tig-grr.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®