Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158095
b: refs/heads/master
c: 8c8c143
h: refs/heads/master
i:
  158093: a1c23e7
  158091: 688f8bb
  158087: 4e8e016
  158079: b07a464
v: v3
  • Loading branch information
Joerg Roedel committed Sep 3, 2009
1 parent 0e2ef32 commit 808cfad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 8bc3e127421bf3b735edbde05135892c12c5f615
refs/heads/master: 8c8c143cdc95ebe50fd962917556e25e8912997b
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ static u64* dma_ops_get_pte(struct dma_ops_domain *dom,
pte = alloc_pte(&dom->domain, address, &pte_page, GFP_ATOMIC);
aperture->pte_pages[APERTURE_PAGE_INDEX(address)] = pte_page;
} else
pte += IOMMU_PTE_L0_INDEX(address);
pte += PM_LEVEL_INDEX(0, address);

update_domain(&dom->domain);

Expand Down Expand Up @@ -1466,7 +1466,7 @@ static void dma_ops_domain_unmap(struct amd_iommu *iommu,
if (!pte)
return;

pte += IOMMU_PTE_L0_INDEX(address);
pte += PM_LEVEL_INDEX(0, address);

WARN_ON(!*pte);

Expand Down

0 comments on commit 808cfad

Please sign in to comment.