powerpc/powernv: Fix PCI resource handling
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Jan 2012 02:31:56 +0000 (13:31 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Jan 2012 02:32:00 +0000 (13:32 +1100)
commitf7ea82beb24f65e2058fa4029edefa0949e872b1
tree85c07317c040fa2dc7962d00dd02eb55003d0768
parent897e01a08c08d86bc76bebb0ca14588b406500e5
powerpc/powernv: Fix PCI resource handling

Recent changes to the handling of PCI resources for host bridges
are breaking the PowerNV code for assigning resources on IODA.

The root of the problem is that the pci_bus attached to a host
bridge no longer has its "legacy" resource pointers populated
but only uses the newer list instead.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci-ioda.c