@@ -383,6 +383,7 @@ void pcibios_resource_survey_bus(struct pci_bus *bus)
if (!(pci_probe & PCI_ASSIGN_ROMS))
pcibios_allocate_rom_resources(bus);
}
+EXPORT_SYMBOL_GPL(pcibios_resource_survey_bus);
void __init pcibios_resource_survey(void)
{
@@ -1839,6 +1839,7 @@ void pci_assign_unassigned_root_bus_resources(struct pci_bus *bus)
/* dump the resource on buses */
pci_bus_dump_resources(bus);
}
+EXPORT_SYMBOL_GPL(pci_assign_unassigned_root_bus_resources);
void __init pci_assign_unassigned_resources(void)
{
@@ -301,6 +301,8 @@ void release_child_resources(struct resource *r)
write_unlock(&resource_lock);
}
+EXPORT_SYMBOL_GPL(release_child_resources);
+
/**
* request_resource_conflict - request and reserve an I/O or memory resource
* @root: root resource descriptor
We need to use them from pci_test module, so expose them. Signed-off-by: Yinghai Lu <yinghai@kernel.org> --- arch/x86/pci/i386.c | 1 + drivers/pci/setup-bus.c | 1 + kernel/resource.c | 2 ++ 3 files changed, 4 insertions(+)