diff options
| author | Mark Nelson <[email protected]> | 2008-07-15 19:51:47 +0000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2008-07-22 00:39:32 +0000 |
| commit | 4f3dd8a06239c0a19d772a27c2f618dc2faadf4a (patch) | |
| tree | f7185cd89a1ec2c4bdb356a52a39407e432e7f7d /arch/powerpc/sysdev/dart_iommu.c | |
| parent | powerpc/cell: Add support for power button of future IBM cell blades (diff) | |
| download | kernel-4f3dd8a06239c0a19d772a27c2f618dc2faadf4a.tar.gz kernel-4f3dd8a06239c0a19d772a27c2f618dc2faadf4a.zip | |
powerpc/dma: Use the struct dma_attrs in iommu code
Update iommu_alloc() to take the struct dma_attrs and pass them on to
tce_build(). This change propagates down to the tce_build functions of
all the platforms.
Signed-off-by: Mark Nelson <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
| -rw-r--r-- | arch/powerpc/sysdev/dart_iommu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c index 005c2ecf976f..de8c8b542cfa 100644 --- a/arch/powerpc/sysdev/dart_iommu.c +++ b/arch/powerpc/sysdev/dart_iommu.c @@ -149,7 +149,8 @@ static void dart_flush(struct iommu_table *tbl) static void dart_build(struct iommu_table *tbl, long index, long npages, unsigned long uaddr, - enum dma_data_direction direction) + enum dma_data_direction direction, + struct dma_attrs *attrs) { unsigned int *dp; unsigned int rpn; |
