Skip to contentSkip to conversation

: PowerPC/PCI Hotplug build break

PATCH New Linas Vepstas 1 participant 1 message Feb 2, 2006 1 message not in the archive PowerPC

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/2 : PowerPC/PCI Hotplug build break

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 <[email protected]>:
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

---
 pci_dlpar.c |    3 +++
 1 files changed, 3 insertions(+)
arch/powerpc/platforms/pseries/pci_dlpar.c +3 -0
Index: linux-2.6.16-rc1-git5/arch/powerpc/platforms/pseries/pci_dlpar.c
===================================================================
@@ -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);