aboutsummaryrefslogtreecommitdiffstats
path: root/lib/find_next_bit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/find_next_bit.c')
-rw-r--r--lib/find_next_bit.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/find_next_bit.c b/lib/find_next_bit.c
index 24c59ded47a0..c093ba988003 100644
--- a/lib/find_next_bit.c
+++ b/lib/find_next_bit.c
@@ -185,7 +185,7 @@ static inline unsigned long ext2_swab(const unsigned long y)
185#endif 185#endif
186} 186}
187 187
188unsigned long generic_find_next_zero_le_bit(const unsigned long *addr, unsigned 188unsigned long find_next_zero_bit_le(const unsigned long *addr, unsigned
189 long size, unsigned long offset) 189 long size, unsigned long offset)
190{ 190{
191 const unsigned long *p = addr + BITOP_WORD(offset); 191 const unsigned long *p = addr + BITOP_WORD(offset);
@@ -226,10 +226,9 @@ found_middle:
226found_middle_swap: 226found_middle_swap:
227 return result + ffz(ext2_swab(tmp)); 227 return result + ffz(ext2_swab(tmp));
228} 228}
229EXPORT_SYMBOL(find_next_zero_bit_le);
229 230
230EXPORT_SYMBOL(generic_find_next_zero_le_bit); 231unsigned long find_next_bit_le(const unsigned long *addr, unsigned
231
232unsigned long generic_find_next_le_bit(const unsigned long *addr, unsigned
233 long size, unsigned long offset) 232 long size, unsigned long offset)
234{ 233{
235 const unsigned long *p = addr + BITOP_WORD(offset); 234 const unsigned long *p = addr + BITOP_WORD(offset);
@@ -271,5 +270,5 @@ found_middle:
271found_middle_swap: 270found_middle_swap:
272 return result + __ffs(ext2_swab(tmp)); 271 return result + __ffs(ext2_swab(tmp));
273} 272}
274EXPORT_SYMBOL(generic_find_next_le_bit); 273EXPORT_SYMBOL(find_next_bit_le);
275#endif /* __BIG_ENDIAN */ 274#endif /* __BIG_ENDIAN */