Skip to content

Commit

Permalink
x86: remove set_bit_string()
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
FUJITA Tomonori authored and Ingo Molnar committed Sep 22, 2008
1 parent d26dbc5 commit ed6dc49
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/asm-x86/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ed6dc49

Please sign in to comment.