Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119744
b: refs/heads/master
c: 8ad909c
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed Dec 8, 2008
1 parent a13ffbe commit 311a16e
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: 24f811603e8ef4b9173f47fa263230168e237128
refs/heads/master: 8ad909c4c1b91bd35ba6a2af5e7ab3fc8d9fe283
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ static void dma_ops_domain_unmap(struct amd_iommu *iommu,
if (address >= dom->aperture_size)
return;

WARN_ON(address & 0xfffULL || address > dom->aperture_size);
WARN_ON(address & ~PAGE_MASK || address >= dom->aperture_size);

pte = dom->pte_pages[IOMMU_PTE_L1_INDEX(address)];
pte += IOMMU_PTE_L0_INDEX(address);
Expand Down

0 comments on commit 311a16e

Please sign in to comment.