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
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
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
---