diff options
| -rw-r--r-- | arch/sparc/kernel/pci_sun4v.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/sparc/kernel/pci_sun4v.c b/arch/sparc/kernel/pci_sun4v.c index ee800f927929..23c33ff9c31e 100644 --- a/arch/sparc/kernel/pci_sun4v.c +++ b/arch/sparc/kernel/pci_sun4v.c | |||
| @@ -525,20 +525,6 @@ static void dma_4v_unmap_sg(struct device *dev, struct scatterlist *sglist, | |||
| 525 | spin_unlock_irqrestore(&iommu->lock, flags); | 525 | spin_unlock_irqrestore(&iommu->lock, flags); |
| 526 | } | 526 | } |
| 527 | 527 | ||
| 528 | static void dma_4v_sync_single_for_cpu(struct device *dev, | ||
| 529 | dma_addr_t bus_addr, size_t sz, | ||
| 530 | enum dma_data_direction direction) | ||
| 531 | { | ||
| 532 | /* Nothing to do... */ | ||
| 533 | } | ||
| 534 | |||
| 535 | static void dma_4v_sync_sg_for_cpu(struct device *dev, | ||
| 536 | struct scatterlist *sglist, int nelems, | ||
| 537 | enum dma_data_direction direction) | ||
| 538 | { | ||
| 539 | /* Nothing to do... */ | ||
| 540 | } | ||
| 541 | |||
| 542 | static struct dma_map_ops sun4v_dma_ops = { | 528 | static struct dma_map_ops sun4v_dma_ops = { |
| 543 | .alloc_coherent = dma_4v_alloc_coherent, | 529 | .alloc_coherent = dma_4v_alloc_coherent, |
| 544 | .free_coherent = dma_4v_free_coherent, | 530 | .free_coherent = dma_4v_free_coherent, |
| @@ -546,8 +532,6 @@ static struct dma_map_ops sun4v_dma_ops = { | |||
| 546 | .unmap_page = dma_4v_unmap_page, | 532 | .unmap_page = dma_4v_unmap_page, |
| 547 | .map_sg = dma_4v_map_sg, | 533 | .map_sg = dma_4v_map_sg, |
| 548 | .unmap_sg = dma_4v_unmap_sg, | 534 | .unmap_sg = dma_4v_unmap_sg, |
| 549 | .sync_single_for_cpu = dma_4v_sync_single_for_cpu, | ||
| 550 | .sync_sg_for_cpu = dma_4v_sync_sg_for_cpu, | ||
| 551 | }; | 535 | }; |
| 552 | 536 | ||
| 553 | static void __devinit pci_sun4v_scan_bus(struct pci_pbm_info *pbm, | 537 | static void __devinit pci_sun4v_scan_bus(struct pci_pbm_info *pbm, |
