[PATCH 1/9] powerpc: export PCI fixup routine

linas linas at austin.ibm.com
Wed Dec 14 06:46:36 EST 2005



Hi Paul,
Please apply.
--linas

There is code in the RPAPHP directory that is identical to this routine; 
I'll be removing that code in an upcoming patch, but this patch is needed 
to expose the function to make it callable. 

Signed-off-by: Linas Vepstas <linas at austin.ibm.com>

Index: linux-2.6.15-rc5-mm2/arch/powerpc/platforms/pseries/pci_dlpar.c
===================================================================
--- linux-2.6.15-rc5-mm2.orig/arch/powerpc/platforms/pseries/pci_dlpar.c	2005-12-12 10:54:50.530581660 -0600
+++ linux-2.6.15-rc5-mm2/arch/powerpc/platforms/pseries/pci_dlpar.c	2005-12-12 11:42:49.483694131 -0600
@@ -77,7 +77,7 @@
 }
 
 /* Must be called before pci_bus_add_devices */
-static void
+void
 pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus)
 {
 	struct pci_dev *dev;
Index: linux-2.6.15-rc5-mm2/include/asm-powerpc/pci-bridge.h
===================================================================
--- linux-2.6.15-rc5-mm2.orig/include/asm-powerpc/pci-bridge.h	2005-12-12 10:54:55.693855475 -0600
+++ linux-2.6.15-rc5-mm2/include/asm-powerpc/pci-bridge.h	2005-12-12 11:42:49.484693990 -0600
@@ -137,6 +137,7 @@
 
 /** Discover new pci devices under this bus, and add them */
 void pcibios_add_pci_devices(struct pci_bus * bus);
+void pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus);
 
 extern int pcibios_remove_root_bus(struct pci_controller *phb);
 



More information about the Linuxppc64-dev mailing list