diff options
Diffstat (limited to 'include/asm-powerpc/machdep.h')
-rw-r--r-- | include/asm-powerpc/machdep.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h index 54ed64df95b..893aafd87fd 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); |
@@ -262,6 +263,7 @@ struct machdep_calls { | |||
262 | #endif | 263 | #endif |
263 | }; | 264 | }; |
264 | 265 | ||
266 | extern void e500_idle(void); | ||
265 | extern void power4_idle(void); | 267 | extern void power4_idle(void); |
266 | extern void power4_cpu_offline_powersave(void); | 268 | extern void power4_cpu_offline_powersave(void); |
267 | extern void ppc6xx_idle(void); | 269 | extern void ppc6xx_idle(void); |