[POWERPC] Allow for different IOMMU page sizes in cell IOMMU code
commit225d49050f9b6506f2f9df6b40e591ee93939d11
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 29 Feb 2008 07:33:27 +0000 (29 18:33 +1100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 3 Mar 2008 07:03:15 +0000 (3 08:03 +0100)
treef65a8146f67fec193842606705b95940e1923779
parent3d3e6da17d6af42a3fd4891fb09d93dca002e590
[POWERPC] Allow for different IOMMU page sizes in cell IOMMU code

Make some preliminary changes to cell_iommu_alloc_ptab() to allow it to
take the page size as a parameter rather than assuming IOMMU_PAGE_SIZE.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/powerpc/platforms/cell/iommu.c