summaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2016-06-08 13:04:47 +0200
committerBjorn Helgaas <bhelgaas@google.com>2016-06-23 18:48:59 +0200
commit765bf9b739731b925ca26a8f05765b87f2bd9724 (patch)
tree4d927ae75b8bfc8a75e74cf7d355b6b13412d870 /lib/flex_array.c
parentalx: Use pci_(request|release)_mem_regions (diff)
downloadlinux-765bf9b739731b925ca26a8f05765b87f2bd9724.tar.xz
linux-765bf9b739731b925ca26a8f05765b87f2bd9724.zip
PCI: Add generic pci_bus_claim_resources()
All PCI resources (bridge windows and BARs) should be inserted in the iomem_resource and ioport_resource trees so we know what space is occupied and what is available for other devices. There's nothing arch-specific about this, but it is currently done by arch-specific code. Add a generic pci_bus_claim_resources() interface so we can migrate away from the arch-specific code. [bhelgaas: changelog] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Arnd Bergmann <arnd@arndb.de> CC: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions