]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Make pci_setup_bridge() non-static for use by arch code
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 11 Sep 2011 17:08:38 +0000 (14:08 -0300)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 14 Oct 2011 16:05:29 +0000 (09:05 -0700)
commit9070b06b861ed3922052e4e83fb49c8941a279ab
tree799b7789febb8491115c97f5a136042d26a81cff
parentb4bb0661065ed9585c98ddcdec6ce48f600f49b5
PCI: Make pci_setup_bridge() non-static for use by arch code

The "powernv" platform of the powerpc architecture needs to assign PCI
resources using a specific algorithm to fit some HW constraints of
the IBM "IODA" architecture (related to the ability to create error
handling domains that encompass specific segments of MMIO space).

For doing so, it wants to call pci_setup_bridge() from architecture
specific resource management in order to configure bridges after all
resources have been assigned. So make it non-static.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c
include/linux/pci.h