summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/eeh-powernv.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-05-03 15:41:24 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 21:54:17 +1000
commit92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab (patch)
tree143d49413cb1d2efc94e309fc0664378f7b415be /arch/powerpc/platforms/powernv/eeh-powernv.c
parent13ce7598b6c0d9b3734fb070242de21b05aedd0d (diff)
downloadlinux-92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab.tar.gz
linux-92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab.tar.bz2
linux-92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab.zip
powerpc/powernv: Rename PE# fields in struct pnv_phb
This renames the fields related to PE number in "struct pnv_phb" for better reflecting of their usages as Alexey suggested. No logical changes introduced. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/eeh-powernv.c')
-rw-r--r--arch/powerpc/platforms/powernv/eeh-powernv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/eeh-powernv.c b/arch/powerpc/platforms/powernv/eeh-powernv.c
index 950b3e539057..69e41ce83154 100644
--- a/arch/powerpc/platforms/powernv/eeh-powernv.c
+++ b/arch/powerpc/platforms/powernv/eeh-powernv.c
@@ -75,7 +75,7 @@ static int pnv_eeh_init(void)
* and P7IOC separately. So we should regard
* PE#0 as valid for PHB3 and P7IOC.
*/
- if (phb->ioda.reserved_pe != 0)
+ if (phb->ioda.reserved_pe_idx != 0)
eeh_add_flag(EEH_VALID_PE_ZERO);
break;