diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_iommu.c')
-rw-r--r-- | arch/sparc64/kernel/pci_iommu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/pci_iommu.c b/arch/sparc64/kernel/pci_iommu.c index 8e52232f6f31..c9320eac45d3 100644 --- a/arch/sparc64/kernel/pci_iommu.c +++ b/arch/sparc64/kernel/pci_iommu.c | |||
@@ -562,9 +562,9 @@ static int pci_4u_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int n | |||
562 | /* Fast path single entry scatterlists. */ | 562 | /* Fast path single entry scatterlists. */ |
563 | if (nelems == 1) { | 563 | if (nelems == 1) { |
564 | sglist->dma_address = | 564 | sglist->dma_address = |
565 | pci_map_single(pdev, | 565 | pci_4u_map_single(pdev, |
566 | (page_address(sglist->page) + sglist->offset), | 566 | (page_address(sglist->page) + sglist->offset), |
567 | sglist->length, direction); | 567 | sglist->length, direction); |
568 | if (unlikely(sglist->dma_address == PCI_DMA_ERROR_CODE)) | 568 | if (unlikely(sglist->dma_address == PCI_DMA_ERROR_CODE)) |
569 | return 0; | 569 | return 0; |
570 | sglist->dma_length = sglist->length; | 570 | sglist->dma_length = sglist->length; |