[PATCH 1/2]: PowerPC/PCI Hotplug build break

Linas Vepstas linas at austin.ibm.com
Thu Feb 2 11:19:06 EST 2006


Please apply ASAP:

Build break: Building PCI hotplug on PowerPC results in 
a build break, due to failure to export symbols.

Reported today by Dave Jones <davej at redhat.com>:
drivers/pci/hotplug/rpaphp.ko needs unknown symbol pcibios_add_pci_devices

This patch fixes the break in the arch/powerpc tree.
Next patch fixes same problem in drivers/pci tree

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

---
 pci_dlpar.c |    3 +++
 1 files changed, 3 insertions(+)

Index: linux-2.6.16-rc1-git5/arch/powerpc/platforms/pseries/pci_dlpar.c
===================================================================
--- linux-2.6.16-rc1-git5.orig/arch/powerpc/platforms/pseries/pci_dlpar.c	2006-02-01 18:06:12.380829512 -0600
+++ linux-2.6.16-rc1-git5/arch/powerpc/platforms/pseries/pci_dlpar.c	2006-02-01 18:11:41.040673750 -0600
@@ -58,6 +58,7 @@
 
 	return find_bus_among_children(pdn->phb->bus, dn);
 }
+EXPORT_SYMBOL_GPL(pcibios_find_pci_bus);
 
 /**
  * pcibios_remove_pci_devices - remove all devices under this bus
@@ -106,6 +107,7 @@
 		}
 	}
 }
+EXPORT_SYMBOL_GPL(pcibios_fixup_new_pci_devices);
 
 static int
 pcibios_pci_config_bridge(struct pci_dev *dev)
@@ -172,3 +174,4 @@
 			pcibios_pci_config_bridge(dev);
 	}
 }
+EXPORT_SYMBOL_GPL(pcibios_add_pci_devices);



More information about the Linuxppc64-dev mailing list