]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
blackfin: define __fls
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:17 +0000 (10:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:17 +0000 (10:12 +1030)
commitccec25ff69d5f48c7a088c16fe2dc7e11d9e87fe
treec51699546cd7c68ea84c2c720783097a6313f400
parent96b8d4c19d797200b973caab57ca842531184c13
blackfin: 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>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/bitops.h