]> Git Repo - linux.git/commitdiff
x86 gart: remove unnecessary set_bit_string
authorFUJITA Tomonori <[email protected]>
Sun, 29 Jun 2008 23:11:22 +0000 (08:11 +0900)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
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;
This page took 0.053927 seconds and 4 git commands to generate.