diff options
Diffstat (limited to 'lib/find_next_bit.c')
-rw-r--r-- | lib/find_next_bit.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/find_next_bit.c b/lib/find_next_bit.c index c02d09f37d58..4bd75a73ba00 100644 --- a/lib/find_next_bit.c +++ b/lib/find_next_bit.c | |||
@@ -16,7 +16,6 @@ | |||
16 | 16 | ||
17 | #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) | 17 | #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) |
18 | 18 | ||
19 | #ifdef CONFIG_GENERIC_FIND_NEXT_BIT | ||
20 | #ifndef find_next_bit | 19 | #ifndef find_next_bit |
21 | /* | 20 | /* |
22 | * Find the next set bit in a memory region. | 21 | * Find the next set bit in a memory region. |
@@ -107,9 +106,7 @@ found_middle: | |||
107 | } | 106 | } |
108 | EXPORT_SYMBOL(find_next_zero_bit); | 107 | EXPORT_SYMBOL(find_next_zero_bit); |
109 | #endif | 108 | #endif |
110 | #endif /* CONFIG_GENERIC_FIND_NEXT_BIT */ | ||
111 | 109 | ||
112 | #ifdef CONFIG_GENERIC_FIND_FIRST_BIT | ||
113 | #ifndef find_first_bit | 110 | #ifndef find_first_bit |
114 | /* | 111 | /* |
115 | * Find the first set bit in a memory region. | 112 | * Find the first set bit in a memory region. |
@@ -165,10 +162,8 @@ found: | |||
165 | } | 162 | } |
166 | EXPORT_SYMBOL(find_first_zero_bit); | 163 | EXPORT_SYMBOL(find_first_zero_bit); |
167 | #endif | 164 | #endif |
168 | #endif /* CONFIG_GENERIC_FIND_FIRST_BIT */ | ||
169 | 165 | ||
170 | #ifdef __BIG_ENDIAN | 166 | #ifdef __BIG_ENDIAN |
171 | #ifdef CONFIG_GENERIC_FIND_BIT_LE | ||
172 | 167 | ||
173 | /* include/linux/byteorder does not support "unsigned long" type */ | 168 | /* include/linux/byteorder does not support "unsigned long" type */ |
174 | static inline unsigned long ext2_swabp(const unsigned long * x) | 169 | static inline unsigned long ext2_swabp(const unsigned long * x) |
@@ -287,5 +282,4 @@ found_middle_swap: | |||
287 | EXPORT_SYMBOL(find_next_bit_le); | 282 | EXPORT_SYMBOL(find_next_bit_le); |
288 | #endif | 283 | #endif |
289 | 284 | ||
290 | #endif /* CONFIG_GENERIC_FIND_BIT_LE */ | ||
291 | #endif /* __BIG_ENDIAN */ | 285 | #endif /* __BIG_ENDIAN */ |