m68k: define __fls
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:18 +0000 (10:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:18 +0000 (10:12 +1030)
commit434ae514c23047db87a8bbf39cebc9e1767aea44
treefae5886a91918f58ebce58b01f691a4391112226
parentccec25ff69d5f48c7a088c16fe2dc7e11d9e87fe
m68k: define __fls

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

(I broke this arch in linux-next by using __fls in generic code).

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