2.4.21-pre7 broken for non-pci

Tom Marshall (tommy@home.tig-grr.com)
Tue, 8 Apr 2003 22:45:36 -0700


[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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/