]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: remove set_bit_string()
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 22 Sep 2008 16:15:10 +0000 (01:15 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 22 Sep 2008 17:49:18 +0000 (19:49 +0200)
"export iommu_area_reserve helper funciton" patch converted all the
users of set_bit_string, GART, Calgary and AMD IOMMU drivers, to use
iommu_area_reserve helper function. Now we can remove unused
set_bit_string function.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/bitops.h

index cfb2b64f76e7d645a8418426f71239b80250c5bb..28ea8742b6e1f75e5c04b882ece9ecd1702f0ffe 100644 (file)
@@ -424,16 +424,6 @@ static inline int fls(int x)
 
 #undef ADDR
 
-static inline void set_bit_string(unsigned long *bitmap,
-               unsigned long i, int len)
-{
-       unsigned long end = i + len;
-       while (i < end) {
-               __set_bit(i, bitmap);
-               i++;
-       }
-}
-
 #ifdef __KERNEL__
 
 #include <asm-generic/bitops/sched.h>