From: Gavin Shan Date: Wed, 31 Jul 2013 08:47:02 +0000 (+0800) Subject: powerpc/powernv: Check primary PHB through ID X-Git-Tag: v3.12-rc1~123^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f1ec02ea162ad18556c35a00c6220fc613f26ce;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed