Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145916
b: refs/heads/master
c: fe16f08
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed May 28, 2009
1 parent 28b0a51 commit d516297
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: d9cfed925448f097ec7faab80d903eb7e5f99712
refs/heads/master: fe16f088a88fb73161bba8784375c829f7e87b54
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 @@ -783,6 +783,11 @@ static unsigned long dma_ops_alloc_addresses(struct device *dev,
{
unsigned long address;

#ifdef CONFIG_IOMMU_STRESS
dom->next_address = 0;
dom->need_flush = true;
#endif

address = dma_ops_area_alloc(dev, dom, pages, align_mask,
dma_mask, dom->next_address);

Expand Down

0 comments on commit d516297

Please sign in to comment.