mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.21-pre7 broken for non-pci
@ 2003-04-09  5:45 Tom Marshall
  0 siblings, 0 replies; only message in thread
From: Tom Marshall @ 2003-04-09  5:45 UTC (permalink / raw)
  To: linux-kernel

[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;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-09  5:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-09  5:45 2.4.21-pre7 broken for non-pci Tom Marshall

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®