aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/pseries/eeh_pe.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh_pe.c b/arch/powerpc/platforms/pseries/eeh_pe.c
index 9d35543736ed..797cd181dc3f 100644
--- a/arch/powerpc/platforms/pseries/eeh_pe.c
+++ b/arch/powerpc/platforms/pseries/eeh_pe.c
@@ -105,11 +105,8 @@ static struct eeh_pe *eeh_phb_pe_get(struct pci_controller *phb)
105 * the PE for PHB has been determined when that 105 * the PE for PHB has been determined when that
106 * was created. 106 * was created.
107 */ 107 */
108 if ((pe->type & EEH_PE_PHB) && 108 if ((pe->type & EEH_PE_PHB) && pe->phb == phb)
109 pe->phb == phb) {
110 eeh_unlock();
111 return pe; 109 return pe;
112 }
113 } 110 }
114 111
115 return NULL; 112 return NULL;