patch-2.2.0-pre9 linux/arch/i386/kernel/bios32.c

Next file: linux/arch/i386/kernel/entry.S
Previous file: linux/arch/i386/kernel/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre8/linux/arch/i386/kernel/bios32.c linux/arch/i386/kernel/bios32.c
@@ -352,6 +352,10 @@
 {
 	u16 dfn, x;
 
+#ifdef CONFIG_VISWS
+	return 1;       /* Lithium PCI Bridges are non-standard */
+#endif
+
 	if (pci_probe & PCI_NO_CHECKS)
 		return 1;
 	for(dfn=0; dfn < 0x100; dfn++)
@@ -1051,7 +1055,7 @@
 				pci_write_config_word(dev, PCI_COMMAND, cmd);
 			}
 		}
-#ifdef __SMP__
+#if defined(CONFIG_X86_IO_APIC)
 		/*
 		 * Recalculate IRQ numbers if we use the I/O APIC
 		 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov