[PATCH] [POWERPC] Add struct iommu_table argument to iommu_map_sg()

Stephen Rothwell sfr at canb.auug.org.au
Wed Apr 30 09:53:56 EST 2008


Hi Olof,

On Tue, 29 Apr 2008 12:54:17 -0500 Olof Johansson <olof at lixom.net> wrote:
>
> Consistency is good, but I wonder if the opposite wouldn't be the better
> way to go here: always just pass down just the dev pointer instead. The
> table can be reached from it.

I made the changes that passed the iommu_table so that e.g. iSeries could
call iommu_alloc_coherent without a dev pointer at all so that the
generic powerpc code could be cleaned up quite a bit.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080430/bf2c2085/attachment.pgp>


More information about the Linuxppc-dev mailing list