X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmachdep.h;h=893aafd87fde2b20ce7eda9dee61f30b79c9ec91;hb=211c8d4942edf2f3337820dda101da6b13c8a19a;hp=989922621e353fdfea01149dbf6c075967261510;hpb=fc4033b2f8b1482022bff3d05505a1b1631bb6de;p=linux-2.6 diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h index 989922621e..893aafd87f 100644 --- a/include/asm-powerpc/machdep.h +++ b/include/asm-powerpc/machdep.h @@ -76,11 +76,12 @@ struct machdep_calls { * destroyed as well */ void (*hpte_clear_all)(void); - void (*tce_build)(struct iommu_table * tbl, + int (*tce_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); void (*tce_free)(struct iommu_table *tbl, long index, long npages);