]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/platforms/iseries/iommu.c
powerpc/dma: implement new dma_*map*_attrs() interfaces
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / iseries / iommu.c
index 11fa3c772ed567f8ba907b024dc3ef8010713777..ab5d8687c3cfbf250058972d1f373d4c5bc3b410 100644 (file)
@@ -214,13 +214,13 @@ dma_addr_t iseries_hv_map(void *vaddr, size_t size,
                        enum dma_data_direction direction)
 {
        return iommu_map_single(NULL, &vio_iommu_table, vaddr, size,
-                               DMA_32BIT_MASK, direction);
+                               DMA_32BIT_MASK, direction, NULL);
 }
 
 void iseries_hv_unmap(dma_addr_t dma_handle, size_t size,
                        enum dma_data_direction direction)
 {
-       iommu_unmap_single(&vio_iommu_table, dma_handle, size, direction);
+       iommu_unmap_single(&vio_iommu_table, dma_handle, size, direction, NULL);
 }
 
 void __init iommu_vio_init(void)