From: Gavin Shan Date: Thu, 24 Apr 2014 08:00:29 +0000 (+1000) Subject: powerpc/powernv: Don't use pe->pbus to get the domain number X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9bc03fe2274bfdac8870025f81571ebfbc92c78;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed