aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_iommu.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-10 03:08:26 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:12:15 -0500
commit18397944642cbca7fcd4a109b43ed5b4652e95b9 (patch)
tree6848d3e67b789b30064f488bd3273ed5ebee4f99 /arch/sparc64/kernel/pci_iommu.c
parent164c220fa3947abbada65329d168f421b461a2a7 (diff)
[SPARC64]: First cut at SUN4V PCI IOMMU handling.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_iommu.c')
-rw-r--r--arch/sparc64/kernel/pci_iommu.c6
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;