]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8cceefd9f6b92c0fc473c6e622e77df9d0a320f
tree8f724fd07b26b443527f9886bd37b795901c5c7f
parent44d42a74026197512d71224dbceef1d9cdbeb18b
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