Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106893
b: refs/heads/master
c: 0764bf6
h: refs/heads/master
i:
  106891: 6371c8c
v: v3
  • Loading branch information
Stephen Rothwell authored and Benjamin Herrenschmidt committed Jul 28, 2008
1 parent 08c972f commit 157ff69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c713e7cbfa529f87e18bb2eacb2ccdd4ee0ef7d3
refs/heads/master: 0764bf63da5466474eebf7d21994cf6b106265a3
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ static dma_addr_t vio_dma_iommu_map_single(struct device *dev, void *vaddr,
}

ret = dma_iommu_ops.map_single(dev, vaddr, size, direction, attrs);
if (unlikely(dma_mapping_error(ret))) {
if (unlikely(dma_mapping_error(dev, ret))) {
vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE));
atomic_inc(&viodev->cmo.allocs_failed);
}
Expand Down

0 comments on commit 157ff69

Please sign in to comment.