aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-nommu_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/pci-nommu_64.c')
-rw-r--r--arch/x86/kernel/pci-nommu_64.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/x86/kernel/pci-nommu_64.c b/arch/x86/kernel/pci-nommu_64.c
index 6e330769d017..90a7c40aa989 100644
--- a/arch/x86/kernel/pci-nommu_64.c
+++ b/arch/x86/kernel/pci-nommu_64.c
@@ -35,10 +35,6 @@ nommu_map_single(struct device *hwdev, phys_addr_t paddr, size_t size,
35 return bus; 35 return bus;
36} 36}
37 37
38static void nommu_unmap_single(struct device *dev, dma_addr_t addr,size_t size,
39 int direction)
40{
41}
42 38
43/* Map a set of buffers described by scatterlist in streaming 39/* Map a set of buffers described by scatterlist in streaming
44 * mode for DMA. This is the scatter-gather version of the 40 * mode for DMA. This is the scatter-gather version of the
@@ -71,20 +67,9 @@ static int nommu_map_sg(struct device *hwdev, struct scatterlist *sg,
71 return nents; 67 return nents;
72} 68}
73 69
74/* Unmap a set of streaming mode DMA translations.
75 * Again, cpu read rules concerning calls here are the same as for
76 * pci_unmap_single() above.
77 */
78static void nommu_unmap_sg(struct device *dev, struct scatterlist *sg,
79 int nents, int dir)
80{
81}
82
83const struct dma_mapping_ops nommu_dma_ops = { 70const struct dma_mapping_ops nommu_dma_ops = {
84 .map_single = nommu_map_single, 71 .map_single = nommu_map_single,
85 .unmap_single = nommu_unmap_single,
86 .map_sg = nommu_map_sg, 72 .map_sg = nommu_map_sg,
87 .unmap_sg = nommu_unmap_sg,
88 .is_phys = 1, 73 .is_phys = 1,
89}; 74};
90 75