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

From: Linas Vepstas
Date: Wed Feb 01 2006 - 19:17:20 EST



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@xxxxxxxxxx>:
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@xxxxxxxxxxxxxx>

---
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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/