diff options
author | Paul Mackerras <paulus@samba.org> | 2008-12-03 10:11:06 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-03 10:11:06 +0100 |
commit | 527491885554002837b5742202adc0ab5f536e54 (patch) | |
tree | 6d9c44776e0b4368eccd414b92b957fac3c5a4c6 /arch/x86/kernel/amd_iommu.c | |
parent | Merge branch 'linux-2.6' into next (diff) | |
parent | powerpc: Fix dma_map_sg() cache flushing on non coherent platforms (diff) | |
download | linux-527491885554002837b5742202adc0ab5f536e54.tar.xz linux-527491885554002837b5742202adc0ab5f536e54.zip |
Merge branch 'merge'
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index 331b318304eb..e4899e0e8787 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c @@ -537,7 +537,7 @@ static void dma_ops_free_addresses(struct dma_ops_domain *dom, address >>= PAGE_SHIFT; iommu_area_free(dom->bitmap, address, pages); - if (address + pages >= dom->next_bit) + if (address >= dom->next_bit) dom->need_flush = true; } |