]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86, AMD IOMMU: remove unnecessary set_bit_string
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Jul 2008 17:35:07 +0000 (19:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Jul 2008 09:44:39 +0000 (11:44 +0200)
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>
arch/x86/kernel/amd_iommu.c

index a1b38561d34765363b9c02bfb432a15dc043809a..329b2c3f2fed8302b142eb29d7861efee9a8c306 100644 (file)
@@ -301,7 +301,6 @@ static unsigned long dma_ops_alloc_addresses(struct device *dev,
                                0, boundary_size, 0);
 
        if (likely(address != -1)) {
-               set_bit_string(dom->bitmap, address, pages);
                dom->next_bit = address + pages;
                address <<= PAGE_SHIFT;
        } else