commit | 2f1ec02ea162ad18556c35a00c6220fc613f26ce | [log] [tgz] |
---|---|---|
author | Gavin Shan <shangw@linux.vnet.ibm.com> | Wed Jul 31 16:47:02 2013 +0800 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Aug 14 14:57:29 2013 +1000 |
tree | bc43d50e7a8ab630302a3f3eb4dc4976b18132ba | |
parent | f1b7cc3ec1ed9fe684872b248b166280650c4976 [diff] |
powerpc/powernv: Check primary PHB through ID The index of one specific PCI controller (struct pci_controller:: global_number) can tell that it's primary one or not. So we needn't additional variable for that and just remove it. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>