cris: define __fls
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:07:14 +0000 (15:37 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:07:14 +0000 (15:37 +1030)
commit0999769e6cad9b0e5abb7c513c0c3f16821f0884
treea3b48abf6454950045f14dff6e7ee9fa82e80428
parent8c384cdee3e04d6194a2c2b192b624754f990835
cris: define __fls

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

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