summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2015-10-08 19:54:16 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2015-10-09 23:18:35 (GMT)
commitf6225c3a0c1f2ef908244c31b91d62066360ce1d (patch)
treeb0728bcd16ae1e87c8c5dd8bd9268da13e4944b5 /arch/arm/include
parent47ddb949029f9517a773e67b0e5eaf80ef596dad (diff)
downloadlinux-f6225c3a0c1f2ef908244c31b91d62066360ce1d.tar.xz
PCI: generic: Fix address window calculation for non-zero starting bus
Make the offset from the beginning of the "reg" property be from the starting bus number, rather than zero. Hoist the invariant size calculation out of the mapping for loop. Update host-generic-pci.txt to clarify the semantics of the "reg" property with respect to non-zero starting bus numbers. Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch/arm/include')
0 files changed, 0 insertions, 0 deletions