From: Rusty Russell Date: Sat, 3 Jan 2009 05:46:54 +0000 (+1030) Subject: m32r: define __fls X-Git-Tag: v2.6.29-rc1~521^2~10^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=16a206260ee70f181de6a3672678545859589ef2;p=linux-2.6-omap-h63xx.git m32r: define __fls Like fls, but can't be handed 0 and returns the bit number. Signed-off-by: Rusty Russell --- diff --git a/include/asm-m32r/bitops.h b/include/asm-m32r/bitops.h index 6dc9b81bf9f..aaddf0d5760 100644 --- a/include/asm-m32r/bitops.h +++ b/include/asm-m32r/bitops.h @@ -251,6 +251,7 @@ static __inline__ int test_and_change_bit(int nr, volatile void * addr) #include #include #include +#include #include #ifdef __KERNEL__