inotify 0.22 2.4.x backport - find_next_bit
Subsystems (2)
RFC PATCH 1/4 inotify 0.22 2.4.x backport - find_next_bit
Hi
This is the find_next_bit implementation from 2.6.11 vanilla. Needed by "idr.c".
Signature · 7 lines
Mihai Rusu Linux System Development Schlund + Partner AG Tel : +40-21-231-2544 Str Mircea Eliade 18 EMail : [email protected] Sect 1, Bucuresti 71295, Romania
include/linux/bitops.h | 2 + lib/Makefile | 2 - lib/find_next_bit.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 1 deletion(-)
include/linux/bitops.h +2 -0
@@ -66,6 +66,8 @@return (res &0x0F ) + ((res >>4 ) &0x0F ); } +int find_next_bit (const unsigned long *addr,int size,int offset); +#include <asm/bitops.h>
lib/Makefile +1 -1
@@ -12,7 +12,7 @@ rbtree.o crc32.o firmware_class.o obj-y := errno.o ctype.o string.o vsprintf.o brlock.o cmdline.o \ - bust_spinlocks.o rbtree.o dump_stack.o + bust_spinlocks.o rbtree.o dump_stack.o find_next_bit.o obj-$(CONFIG_FW_LOADER) += firmware_class.o obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
lib/find_next_bit.c +55 -0
55 lines not on this page · raw message