aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2009-01-05 09:47:28 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-06 08:06:56 -0500
commitd7dff84053524186b139342ac66a4160ce6bb517 (patch)
tree504ba7cc335158fed360d32bec3baf834cafbbce /drivers
parent33feffd4525fc2e4dd0a322fb5d07d61f85d791e (diff)
x86: remove map_single and unmap_single in struct dma_mapping_ops
This patch converts dma_map_single and dma_unmap_single to use map_page and unmap_page respectively and removes unnecessary map_single and unmap_single in struct dma_mapping_ops. This leaves intel-iommu's dma_map_single and dma_unmap_single since IA64 uses them. They will be removed after the unification. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/intel-iommu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c
index 60258ecbcb4c..da273e4ef66c 100644
--- a/drivers/pci/intel-iommu.c
+++ b/drivers/pci/intel-iommu.c
@@ -2582,8 +2582,6 @@ int intel_map_sg(struct device *hwdev, struct scatterlist *sglist, int nelems,
2582static struct dma_mapping_ops intel_dma_ops = { 2582static struct dma_mapping_ops intel_dma_ops = {
2583 .alloc_coherent = intel_alloc_coherent, 2583 .alloc_coherent = intel_alloc_coherent,
2584 .free_coherent = intel_free_coherent, 2584 .free_coherent = intel_free_coherent,
2585 .map_single = intel_map_single,
2586 .unmap_single = intel_unmap_single,
2587 .map_sg = intel_map_sg, 2585 .map_sg = intel_map_sg,
2588 .unmap_sg = intel_unmap_sg, 2586 .unmap_sg = intel_unmap_sg,
2589#ifdef CONFIG_X86_64 2587#ifdef CONFIG_X86_64