]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86 gart: remove unnecessary set_bit_string
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sun, 29 Jun 2008 23:11:22 +0000 (08:11 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 30 Jun 2008 08:52:40 +0000 (10:52 +0200)
iommu_area_alloc internally calls set_bit_string and set bits
properly. This set_bit_string is unnecessary.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: joerg.roedel@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-gart_64.c

index f20c20a7853d051ab74798092dab5f32b72f2200..021f3c684a62e1df68878d636ead0930b75fe548 100644 (file)
@@ -104,7 +104,6 @@ static unsigned long alloc_iommu(struct device *dev, int size)
                                          size, base_index, boundary_size, 0);
        }
        if (offset != -1) {
-               set_bit_string(iommu_gart_bitmap, offset, size);
                next_bit = offset+size;
                if (next_bit >= iommu_pages) {
                        next_bit = 0;