summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Shan2016-05-03 07:41:23 +0200
committerMichael Ellerman2016-05-11 13:54:16 +0200
commit13ce7598b6c0d9b3734fb070242de21b05aedd0d (patch)
treef8c276d5381f562b0e65bcc89a0eb85b156b9abe
parentpowerpc/powernv: Drop phb->bdfn_to_pe() (diff)
downloadkernel-qcow2-linux-13ce7598b6c0d9b3734fb070242de21b05aedd0d.tar.gz
kernel-qcow2-linux-13ce7598b6c0d9b3734fb070242de21b05aedd0d.tar.xz
kernel-qcow2-linux-13ce7598b6c0d9b3734fb070242de21b05aedd0d.zip
powerpc/powernv: Reorder fields in struct pnv_phb
This moves those fields in struct pnv_phb that are related to PE allocation around. No logical change. 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>
-rw-r--r--arch/powerpc/platforms/powernv/pci.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/powernv/pci.h b/arch/powerpc/platforms/powernv/pci.h
index 78f035eba9b5..f2a145285992 100644
--- a/arch/powerpc/platforms/powernv/pci.h
+++ b/arch/powerpc/platforms/powernv/pci.h
@@ -140,15 +140,14 @@ struct pnv_phb {
unsigned int io_segsize;
unsigned int io_pci_base;
- /* PE allocation bitmap */
- unsigned long *pe_alloc;
- /* PE allocation mutex */
+ /* PE allocation */
struct mutex pe_alloc_mutex;
+ unsigned long *pe_alloc;
+ struct pnv_ioda_pe *pe_array;
/* M32 & IO segment maps */
unsigned int *m32_segmap;
unsigned int *io_segmap;
- struct pnv_ioda_pe *pe_array;
/* IRQ chip */
int irq_chip_init;