* [PATCH] Unresolved symbol compile error on non-PCI PC systems
@ 2003-04-06 0:56 Stephane Ouellette
0 siblings, 0 replies; only message in thread
From: Stephane Ouellette @ 2003-04-06 0:56 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
Folks,
in the file arch/i386/kernel/dmi_scan.c, there are two unresolved
symbols when this file is compiled for a system without PCI support.
The following patch fixes this. Patch applies against 2.4.21-pre5-ac3.
As I do not know for sure if there are other issues related with
this patch, I would like that someone double-checks it. There is also a
possibility that this fix applies to the 2.5 kernel tree.
Regards,
Stephane Ouellette
[-- Attachment #2: dmi_scan.c.patch --]
[-- Type: text/plain, Size: 632 bytes --]
--- linux-2.4.21-pre5-ac3/arch/i386/kernel/dmi_scan.c Fri Apr 4 16:52:19 2003
+++ linux-2.4.21-pre5-ac3-fixed/arch/i386/kernel/dmi_scan.c Sat Apr 5 12:12:48 2003
@@ -415,8 +415,10 @@
*/
extern int skip_ioapic_setup;
+#ifdef CONFIG_PCI
extern int broken_440gx_bios;
extern unsigned int pci_probe;
+#endif
static __init int broken_pirq(struct dmi_blacklist *d)
{
printk(KERN_INFO " *** Possibly defective BIOS detected (irqtable)\n");
@@ -427,8 +429,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-06 0:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-06 0:56 [PATCH] Unresolved symbol compile error on non-PCI PC systems Stephane Ouellette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox