Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git] / include / asm-generic / bitops / find.h
1 #ifndef _ASM_GENERIC_BITOPS_FIND_H_
2 #define _ASM_GENERIC_BITOPS_FIND_H_
3
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);
7
8 extern unsigned long find_next_zero_bit(const unsigned long *addr, unsigned
9                 long size, unsigned long offset);
10 #endif
11
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)
14
15 #endif /*_ASM_GENERIC_BITOPS_FIND_H_ */