From: Rusty Russell Date: Wed, 31 Dec 2008 23:42:17 +0000 (+1030) Subject: blackfin: define __fls X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ccec25ff69d5f48c7a088c16fe2dc7e11d9e87fe;p=linux-beck.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 b39a175c79c1..c428e4106f89 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 */