xtensa: define __fls
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:51:08 +0000 (16:21 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:51:08 +0000 (16:21 +1030)
commit5ece5c5192d065c229da01e7b347c1d3877b59fa
tree755642823b24f869c4c67c7712f6fa45c4f87e9d
parent5c134dad43443aa9c9606eaf47c378a6b9c5c597
xtensa: 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-xtensa/bitops.h