[PATCH] pcibios_set_irq_routing undefined in 2.4.13-ac[12]

From: Pavel Roskin (proski@gnu.org)
Date: Fri Oct 26 2001 - 18:09:40 EST


Hello!

Here's the trivial fix for undefined symbols pcibios_set_irq_routing and
pcibios_get_irq_routing_table if PCI access is direct only on i386
architecture.

The patch is against 2.4.13-ac2

----------------------------------
--- linux.orig/arch/i386/kernel/i386_ksyms.c
+++ linux/arch/i386/kernel/i386_ksyms.c
@@ -112,6 +112,9 @@ EXPORT_SYMBOL(pci_free_consistent);
 #ifdef CONFIG_PCI
 EXPORT_SYMBOL(pcibios_penalize_isa_irq);
 EXPORT_SYMBOL(pci_mem_start);
+#endif
+
+#ifdef CONFIG_PCI_BIOS
 EXPORT_SYMBOL(pcibios_set_irq_routing);
 EXPORT_SYMBOL(pcibios_get_irq_routing_table);
 #endif
----------------------------------

Regards,
Pavel Roskin

-
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/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:32 EST