frv: define __fls
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:44:05 +0000 (16:14 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:44:05 +0000 (16:14 +1030)
commitee38e5140bafbf40e1bd25ab917ac8db54a27799
treee05484a09e8b73692fd16663dd6b3deafc5116dc
parent0999769e6cad9b0e5abb7c513c0c3f16821f0884
frv: 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-frv/bitops.h