Re: [PATCH 08/15] powerpc/cell: Extract duplicated IOPTE_* to

2009-05-11 Thread Geert Uytterhoeven
On Sun, 10 May 2009, Christoph Hellwig wrote: > On Fri, May 08, 2009 at 04:01:17PM +0200, Geert Uytterhoeven wrote: > > +/* Cell page table entries */ > > +#define IOPTE_PP_W 0x8000ul /* protection: write */ > > +#define IOPTE_PP_R 0x4000ul /* protection: rea

Re: [PATCH 08/15] powerpc/cell: Extract duplicated IOPTE_* to

2009-05-10 Thread Christoph Hellwig
On Fri, May 08, 2009 at 04:01:17PM +0200, Geert Uytterhoeven wrote: > +/* Cell page table entries */ > +#define IOPTE_PP_W 0x8000ul /* protection: write */ > +#define IOPTE_PP_R 0x4000ul /* protection: read */ > +#define IOPTE_M 0x200

[PATCH 08/15] powerpc/cell: Extract duplicated IOPTE_* to

2009-05-08 Thread Geert Uytterhoeven
Both arch/powerpc/platforms/cell/iommu.c and arch/powerpc/platforms/ps3/mm.c contain the same Cell IOMMU page table entry definitions. Extract them and move them to . This also allows them to be used by drivers. Signed-off-by: Geert Uytterhoeven Cc: Arnd Bergmann Cc: linuxppc-dev@ozlabs.org ---