Full support for Ginger Console
[linux-ginger.git] / include / asm-generic / bitops / find.h
blob1914e9742512db6d9bd5e9be5bc9be30ad510c0f
1 #ifndef _ASM_GENERIC_BITOPS_FIND_H_
2 #define _ASM_GENERIC_BITOPS_FIND_H_
4 #ifndef CONFIG_GENERIC_FIND_NEXT_BIT
5 extern unsigned long find_next_bit(const unsigned long *addr, unsigned long
6 size, unsigned long offset);
8 extern unsigned long find_next_zero_bit(const unsigned long *addr, unsigned
9 long size, unsigned long offset);
10 #endif
12 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0)
13 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
15 #endif /*_ASM_GENERIC_BITOPS_FIND_H_ */