diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-07-03 13:35:07 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-04 05:44:39 -0400 |
commit | 5f6a59d8ad55781d4d2ff0d327f84aaeed2c4127 (patch) | |
tree | 88290d48b828bb59a24cd7f8acccc3b20cb8851a /arch/x86/kernel/amd_iommu.c | |
parent | 18d22200740b83a5d968d3236c27c310b3e8fda6 (diff) |
x86, AMD IOMMU: remove unnecessary set_bit_string
The set_bit_string call in the address allocator is not necessary because its
already called in iommu_area_alloc().
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: robert.richter@amd.com
Cc: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index a1b38561d347..329b2c3f2fed 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -301,7 +301,6 @@ static unsigned long dma_ops_alloc_addresses(struct device *dev, | |||
301 | 0, boundary_size, 0); | 301 | 0, boundary_size, 0); |
302 | 302 | ||
303 | if (likely(address != -1)) { | 303 | if (likely(address != -1)) { |
304 | set_bit_string(dom->bitmap, address, pages); | ||
305 | dom->next_bit = address + pages; | 304 | dom->next_bit = address + pages; |
306 | address <<= PAGE_SHIFT; | 305 | address <<= PAGE_SHIFT; |
307 | } else | 306 | } else |