]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit37047701804d612ce1b504607a3c68a6177b8e41
tree85c07317c040fa2dc7962d00dd02eb55003d0768
parentffa4874a7393792c095ecbe3de136a85d39b1ffc
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