diff options
Diffstat (limited to 'include/asm-powerpc/machdep.h')
-rw-r--r-- | include/asm-powerpc/machdep.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h index 989922621e35..893aafd87fde 100644 --- a/include/asm-powerpc/machdep.h +++ b/include/asm-powerpc/machdep.h | |||
@@ -76,11 +76,12 @@ struct machdep_calls { | |||
76 | * destroyed as well */ | 76 | * destroyed as well */ |
77 | void (*hpte_clear_all)(void); | 77 | void (*hpte_clear_all)(void); |
78 | 78 | ||
79 | void (*tce_build)(struct iommu_table * tbl, | 79 | int (*tce_build)(struct iommu_table *tbl, |
80 | long index, | 80 | long index, |
81 | long npages, | 81 | long npages, |
82 | unsigned long uaddr, | 82 | unsigned long uaddr, |
83 | enum dma_data_direction direction); | 83 | enum dma_data_direction direction, |
84 | struct dma_attrs *attrs); | ||
84 | void (*tce_free)(struct iommu_table *tbl, | 85 | void (*tce_free)(struct iommu_table *tbl, |
85 | long index, | 86 | long index, |
86 | long npages); | 87 | long npages); |