diff options
| author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-01-28 07:53:18 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-01-29 08:39:29 -0500 |
| commit | d7ab5c46ae2743079a40bb4060e510418c0842b4 (patch) | |
| tree | da51ca0ad2c50f09ca638bb7bff18ea03b31b106 /include/linux | |
| parent | dfb805e831cc5306b14eacd64e0b36d0d973ee0d (diff) | |
intel-iommu: make dma mapping functions static
The dma ops unification enables X86 and IA64 to share intel_dma_ops so
we can make dma mapping functions static. This also remove unused
intel_map_single().
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/intel-iommu.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h index a254db1decd0..43412aeddb53 100644 --- a/include/linux/intel-iommu.h +++ b/include/linux/intel-iommu.h | |||
| @@ -330,13 +330,4 @@ extern int qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr, | |||
| 330 | 330 | ||
| 331 | extern void qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu); | 331 | extern void qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu); |
| 332 | 332 | ||
| 333 | extern void *intel_alloc_coherent(struct device *, size_t, dma_addr_t *, gfp_t); | ||
| 334 | extern void intel_free_coherent(struct device *, size_t, void *, dma_addr_t); | ||
| 335 | extern dma_addr_t intel_map_single(struct device *, phys_addr_t, size_t, int); | ||
| 336 | extern void intel_unmap_single(struct device *, dma_addr_t, size_t, int); | ||
| 337 | extern int intel_map_sg(struct device *, struct scatterlist *, int, | ||
| 338 | enum dma_data_direction, struct dma_attrs *); | ||
| 339 | extern void intel_unmap_sg(struct device *, struct scatterlist *, int, | ||
| 340 | enum dma_data_direction, struct dma_attrs *); | ||
| 341 | |||
| 342 | #endif | 333 | #endif |
