lkml.org 
[lkml]   [2003]   [Apr]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 05 Apr 2003 19:56:31 -0500
FromStephane Ouellette <>
Subject[PATCH] Unresolved symbol compile error on non-PCI PC systems
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


--- 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;
 }
\
 
 \ /
  Last update: 2005-03-22 12:34    [from the cache]
©2003-2008