[PATCH] x86: handle -Wsign-compare in bitops
authorDavid Howells <dhowells@redhat.com>
Fri, 6 Jan 2006 08:11:59 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:36 +0000 (08:33 -0800)
commitd89c145c0344fe2180336af6a309a59a8bc8c1c0
tree3b124a740d14ef298117b4ad0732e075ed970e4b
parent2684927c6b938ec7a679891e0ec1fa0709c521bd
[PATCH] x86: handle -Wsign-compare in bitops

Make i386's find_first_bit() use an unsigned integer as a counter to avoid
getting warnings when -Wsign-compare is given.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/bitops.h