Re: [PATCH v8 06/45] powerpc/powernv: Reorder fields in struct pnv_phb

2016-04-12 Thread Alexey Kardashevskiy

On 02/17/2016 02:43 PM, Gavin Shan wrote:

This moves those fields in struct pnv_phb that are related to PE
allocation around. No logical change.

Signed-off-by: Gavin Shan 



Reviewed-by: Alexey Kardashevskiy 




---
  arch/powerpc/platforms/powernv/pci.h | 7 +++
  1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/platforms/powernv/pci.h 
b/arch/powerpc/platforms/powernv/pci.h
index 78f035e..f2a1452 100644
--- a/arch/powerpc/platforms/powernv/pci.h
+++ b/arch/powerpc/platforms/powernv/pci.h
@@ -140,15 +140,14 @@ struct pnv_phb {
unsigned intio_segsize;
unsigned intio_pci_base;

-   /* PE allocation bitmap */
-   unsigned long   *pe_alloc;
-   /* PE allocation mutex */
+   /* PE allocation */
struct mutexpe_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;




--
Alexey
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH v8 06/45] powerpc/powernv: Reorder fields in struct pnv_phb

2016-02-16 Thread Gavin Shan
This moves those fields in struct pnv_phb that are related to PE
allocation around. No logical change.

Signed-off-by: Gavin Shan 
---
 arch/powerpc/platforms/powernv/pci.h | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/platforms/powernv/pci.h 
b/arch/powerpc/platforms/powernv/pci.h
index 78f035e..f2a1452 100644
--- a/arch/powerpc/platforms/powernv/pci.h
+++ b/arch/powerpc/platforms/powernv/pci.h
@@ -140,15 +140,14 @@ struct pnv_phb {
unsigned intio_segsize;
unsigned intio_pci_base;
 
-   /* PE allocation bitmap */
-   unsigned long   *pe_alloc;
-   /* PE allocation mutex */
+   /* PE allocation */
struct mutexpe_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;
-- 
2.1.0

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev