Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156461
b: refs/heads/master
c: 33041ec
h: refs/heads/master
i:
  156459: 69e6783
v: v3
  • Loading branch information
Fenghua Yu authored and David Woodhouse committed Aug 5, 2009
1 parent bbc477e commit 4ca0878
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f532959b77e5e567c84c914cb7c7b07d2582448b
refs/heads/master: 33041ec049d39a6e0463c7edc7b6f631d24559e3
3 changes: 2 additions & 1 deletion trunk/drivers/pci/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2551,6 +2551,7 @@ static dma_addr_t __intel_map_single(struct device *hwdev, phys_addr_t paddr,
int prot = 0;
int ret;
struct intel_iommu *iommu;
unsigned long paddr_pfn = paddr >> PAGE_SHIFT;

BUG_ON(dir == DMA_NONE);

Expand Down Expand Up @@ -2585,7 +2586,7 @@ static dma_addr_t __intel_map_single(struct device *hwdev, phys_addr_t paddr,
* is not a big problem
*/
ret = domain_pfn_mapping(domain, mm_to_dma_pfn(iova->pfn_lo),
paddr >> VTD_PAGE_SHIFT, size, prot);
mm_to_dma_pfn(paddr_pfn), size, prot);
if (ret)
goto error;

Expand Down

0 comments on commit 4ca0878

Please sign in to comment.