mn10300: define __fls
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:49:03 +0000 (16:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:49:03 +0000 (16:19 +1030)
commit5c134dad43443aa9c9606eaf47c378a6b9c5c597
tree8f724fd07b26b443527f9886bd37b795901c5c7f
parent16a206260ee70f181de6a3672678545859589ef2
mn10300: 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-mn10300/bitops.h