summaryrefslogtreecommitdiffstats
path: root/include/linux/lockref.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2015-01-15 16:21:49 -0600
committerBjorn Helgaas <bhelgaas@google.com>2015-01-16 10:04:42 -0600
commit0f7e7aee2f37119a32e6e8b63250922442528961 (patch)
tree4bb354ba434d5870c08b16440183792ff717b3d6 /include/linux/lockref.h
parent3f2f4dc456e9f80849b99d79600a7257690ca4b1 (diff)
downloadblackbird-op-linux-0f7e7aee2f37119a32e6e8b63250922442528961.tar.gz
blackbird-op-linux-0f7e7aee2f37119a32e6e8b63250922442528961.zip
PCI: Add pci_bus_clip_resource() to clip to fit upstream window
Add pci_bus_clip_resource(). If a PCI-PCI bridge window overlaps an upstream bridge window but is not completely contained by it, this clips the downstream window so it fits inside the upstream one. No functional change (this adds the function but no callers). [bhelgaas: changelog, split into separate patch] Link: https://bugzilla.kernel.org/show_bug.cgi?id=85491 Reported-by: Marek Kordik <kordikmarek@gmail.com> Fixes: 5b28541552ef ("PCI: Restrict 64-bit prefetchable bridge windows to 64-bit resources") Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: stable@vger.kernel.org # v3.16+
Diffstat (limited to 'include/linux/lockref.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud