diff options
author | Mark Nelson <markn@au1.ibm.com> | 2008-07-05 05:05:44 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-09 16:30:43 +1000 |
commit | 7e5f8105030038de94b44a74cd7b64dd000830fc (patch) | |
tree | f06d44bb94b9d1dfd4b32fe99fa8c918a4284ad2 /arch/powerpc/kernel/process.c | |
parent | 3affedc4e1ce837033b6c5e9289d2ce2f5a62d31 (diff) |
powerpc/cell: cell_dma_dev_setup_iommu() return the iommu table
Make cell_dma_dev_setup_iommu() return a pointer to the struct iommu_table
(or NULL if no table can be found) rather than putting this pointer into
dev->archdata.dma_data (let the caller do that), and rename this function
to cell_get_iommu_table() to reflect this change.
This will allow us to get the iommu table for a device that doesn't have
the table in the archdata.
Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
0 files changed, 0 insertions, 0 deletions