From: Rusty Russell Date: Wed, 31 Dec 2008 23:42:17 +0000 (+1030) Subject: blackfin: define __fls X-Git-Tag: v2.6.29-rc1~521^2~11^2~24 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ccec25ff69d5f48c7a088c16fe2dc7e11d9e87fe;p=linux-2.6-omap-h63xx.git 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 Acked-by: Mike Frysinger --- diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h index b39a175c79c..c428e4106f8 100644 --- a/arch/blackfin/include/asm/bitops.h +++ b/arch/blackfin/include/asm/bitops.h @@ -213,6 +213,7 @@ static __inline__ int __test_bit(int nr, const void *addr) #endif /* __KERNEL__ */ #include +#include #include #endif /* _BLACKFIN_BITOPS_H */