diff options
| author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2014-04-24 18:00:29 +1000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-28 17:35:14 +1000 |
| commit | e9bc03fe2274bfdac8870025f81571ebfbc92c78 (patch) | |
| tree | 6c1af7a6477408ed8a7d46c088edeca16a720487 /arch/powerpc/boot/stdio.c | |
| parent | powerpc/powernv: Missed IOMMU table type (diff) | |
| download | linux-e9bc03fe2274bfdac8870025f81571ebfbc92c78.tar.gz linux-e9bc03fe2274bfdac8870025f81571ebfbc92c78.zip | |
powerpc/powernv: Don't use pe->pbus to get the domain number
If the PE contains single PCI function, "pe->pbus" would be NULL.
It's not reliable to be used by pci_domain_nr(). We just grab the
PCI domain number from the PCI host controller (struct pci_controller)
instance.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/stdio.c')
0 files changed, 0 insertions, 0 deletions
