lkml.org 
[lkml]   [2003]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][2.4.21-pre7] fix dmi_scan breakage
dmi_scan in -pre7 causes linkage errors when CONFIG_PCI=n,
since neither broken_440gx_bios nor pci_probe exist then.
This patch works around that.

/Mikael

--- linux-2.4.21-pre7/arch/i386/kernel/dmi_scan.c.~1~ 2003-04-05 12:35:30.000000000 +0200
+++ linux-2.4.21-pre7/arch/i386/kernel/dmi_scan.c 2003-04-05 14:22:32.000000000 +0200
@@ -427,8 +427,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/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.266 / U:1.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site