From: Rusty Russell Date: Thu, 4 Dec 2008 00:04:52 +0000 (-0800) Subject: sparc: asm/bitops.h should define __fls X-Git-Tag: v2.6.28-rc8~57^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e8e8e80ee047b131a0cd6a3e96e0f8dfa14f6d99;p=linux-2.6-omap-h63xx.git sparc: asm/bitops.h should define __fls bitops_64.h includes the generic one; pretty sure 32 should too. (Found by using __fls in generic code and breaking sparc defconfig build: thanks Stephen and linux-next!) Signed-off-by: Rusty Russell Signed-off-by: David S. Miller --- diff --git a/arch/sparc/include/asm/bitops_32.h b/arch/sparc/include/asm/bitops_32.h index 68b98a7e645..9cf4ae0cd7b 100644 --- a/arch/sparc/include/asm/bitops_32.h +++ b/arch/sparc/include/asm/bitops_32.h @@ -98,6 +98,7 @@ static inline void change_bit(unsigned long nr, volatile unsigned long *addr) #include #include #include +#include #include #include #include