m68knommu: 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)
commit0db5d3d2f58804edb394e8008c7d9744110338a2
tree7528110d1e7c979bfff709dc0b37b7af596939f3
parent434ae514c23047db87a8bbf39cebc9e1767aea44
m68knommu: 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>
arch/m68knommu/include/asm/bitops.h