Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145918
b: refs/heads/master
c: 47bccd6
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed May 28, 2009
1 parent 11a4df9 commit 1c36ae4
Show file tree
Hide file tree
Showing 2 changed files with 6 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: f5e9705c6429d24dee832b2edd7f4848d432ea03
refs/heads/master: 47bccd6bb2b866449d3ecf2ba350ac1c7473b2b8
5 changes: 5 additions & 0 deletions trunk/arch/x86/kernel/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,11 @@ static void dma_ops_free_addresses(struct dma_ops_domain *dom,

BUG_ON(i >= APERTURE_MAX_RANGES || range == NULL);

#ifdef CONFIG_IOMMU_STRESS
if (i < 4)
return;
#endif

if (address >= dom->next_address)
dom->need_flush = true;

Expand Down

0 comments on commit 1c36ae4

Please sign in to comment.