diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-01-05 09:36:14 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-06 08:06:50 -0500 |
commit | fad6a029c4afa499dddd8e9ff70264bb977ea7bf (patch) | |
tree | d35a37d9a76a9c16f9f813f19bedfa6b6d23cba9 /arch/ia64/hp | |
parent | b7ea6e951833a3add60fd47f2de6870b5d0589b3 (diff) |
remove dma operations in struct ia64_machine_vector
We don't need dma operation hooks in struct ia64_machine_vector
now. This also removes unused ia64_mv_dma_* typedefs.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/ia64/hp')
-rw-r--r-- | arch/ia64/hp/common/hwsw_iommu.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/arch/ia64/hp/common/hwsw_iommu.c b/arch/ia64/hp/common/hwsw_iommu.c index 22145ded58f6..5cf750e1fddc 100644 --- a/arch/ia64/hp/common/hwsw_iommu.c +++ b/arch/ia64/hp/common/hwsw_iommu.c | |||
@@ -22,14 +22,18 @@ extern int swiotlb_late_init_with_default_size (size_t size); | |||
22 | 22 | ||
23 | /* hwiommu declarations & definitions: */ | 23 | /* hwiommu declarations & definitions: */ |
24 | 24 | ||
25 | extern ia64_mv_dma_alloc_coherent sba_alloc_coherent; | 25 | extern void *sba_alloc_coherent(struct device *, size_t, dma_addr_t *, gfp_t); |
26 | extern ia64_mv_dma_free_coherent sba_free_coherent; | 26 | extern void sba_free_coherent (struct device *, size_t, void *, dma_addr_t); |
27 | extern ia64_mv_dma_map_single_attrs sba_map_single_attrs; | 27 | extern dma_addr_t sba_map_single_attrs(struct device *, void *, size_t, int, |
28 | extern ia64_mv_dma_unmap_single_attrs sba_unmap_single_attrs; | 28 | struct dma_attrs *); |
29 | extern ia64_mv_dma_map_sg_attrs sba_map_sg_attrs; | 29 | extern void sba_unmap_single_attrs(struct device *, dma_addr_t, size_t, int, |
30 | extern ia64_mv_dma_unmap_sg_attrs sba_unmap_sg_attrs; | 30 | struct dma_attrs *); |
31 | extern ia64_mv_dma_supported sba_dma_supported; | 31 | extern int sba_map_sg_attrs(struct device *, struct scatterlist *, int, int, |
32 | extern ia64_mv_dma_mapping_error sba_dma_mapping_error; | 32 | struct dma_attrs *); |
33 | extern void sba_unmap_sg_attrs(struct device *, struct scatterlist *, int, int, | ||
34 | struct dma_attrs *); | ||
35 | extern int sba_dma_supported (struct device *, u64); | ||
36 | extern int sba_dma_mapping_error(struct device *, dma_addr_t); | ||
33 | 37 | ||
34 | #define hwiommu_alloc_coherent sba_alloc_coherent | 38 | #define hwiommu_alloc_coherent sba_alloc_coherent |
35 | #define hwiommu_free_coherent sba_free_coherent | 39 | #define hwiommu_free_coherent sba_free_coherent |