Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155095
b: refs/heads/master
c: 4b99d35
h: refs/heads/master
i:
  155093: f0bee56
  155091: f3bc631
  155087: b9a6a95
v: v3
  • Loading branch information
Sheng Yang authored and Linus Torvalds committed Jul 8, 2009
1 parent bd30047 commit 83c0f0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f2f2221b4ad816567394a52643963428fd353cd
refs/heads/master: 4b99d3527041bec1abe9903263a3a1b7d2ba0c4a
3 changes: 3 additions & 0 deletions trunk/drivers/pci/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3600,6 +3600,9 @@ static void intel_iommu_unmap_range(struct iommu_domain *domain,
{
struct dmar_domain *dmar_domain = domain->priv;

if (!size)
return;

dma_pte_clear_range(dmar_domain, iova >> VTD_PAGE_SHIFT,
(iova + size - 1) >> VTD_PAGE_SHIFT);

Expand Down

0 comments on commit 83c0f0e

Please sign in to comment.