[PATCH] FRV: Fix fls() to handle bit 31 being set correctly
commit92fc707208bb2e601c24b5ab65db37bcb361b658
authorDavid Howells <dhowells@redhat.com>
Tue, 26 Sep 2006 06:32:07 +0000 (25 23:32 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:53 +0000 (26 08:48 -0700)
treea0b2d56c30ade74946e9edd74f2d516f475c68f5
parentaf8c65b57aaa4ae321af34dbfc5ca7f5625263fe
[PATCH] FRV: Fix fls() to handle bit 31 being set correctly

Fix FRV fls() to handle bit 31 being set correctly (it should return 32 not 0).

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-frv/bitops.h