m32r: define __fls
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:46:54 +0000 (16:16 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:46:54 +0000 (16:16 +1030)
commit16a206260ee70f181de6a3672678545859589ef2
tree26fc048b4867676fd80e8e9819cb55ddb73d8f40
parent9ddabc2a29163e4b243d10c5e06fc5584073d7ad
m32r: define __fls

Like fls, but can't be handed 0 and returns the bit number.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/asm-m32r/bitops.h