From: FUJITA Tomonori Date: Mon, 22 Sep 2008 16:15:10 +0000 (+0900) Subject: x86: remove set_bit_string() X-Git-Tag: Ubuntu-5.10.0-12.13~36521^2^4~11 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ed6dc4981368aa8ac89b0ea61535cfa2b03533cb;p=mirror_ubuntu-hirsute-kernel.git x86: remove set_bit_string() "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 Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/bitops.h b/include/asm-x86/bitops.h index cfb2b64f76e7..28ea8742b6e1 100644 --- a/include/asm-x86/bitops.h +++ b/include/asm-x86/bitops.h @@ -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