Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21968/include/asm-vax
Modified Files:
bitops.h
Log Message:
Our find_next_bit() has been broken for a long time (it returned 1 more
than it should have).
Index: bitops.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/bitops.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- bitops.h 20 Nov 2004 13:52:32 -0000 1.16
+++ bitops.h 25 Feb 2005 21:40:58 -0000 1.17
@@ -488,7 +488,7 @@
if (!tmp)
return result + size;
found_middle:
- return result + ffs(tmp);
+ return result + __ffs(tmp);
}
#define find_first_bit(addr, size) \
|