From: Rusty Russell Date: Sat, 3 Jan 2009 05:46:04 +0000 (+1030) Subject: h8300: define __fls X-Git-Tag: v2.6.29-rc1~521^2~10^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9ddabc2a29163e4b243d10c5e06fc5584073d7ad;p=linux-2.6-omap-h63xx.git h8300: define __fls Like fls, but can't be handed 0 and returns the bit number. Signed-off-by: Rusty Russell --- diff --git a/arch/h8300/include/asm/bitops.h b/arch/h8300/include/asm/bitops.h index cb18e3b0aa9..cb9ddf5fc54 100644 --- a/arch/h8300/include/asm/bitops.h +++ b/arch/h8300/include/asm/bitops.h @@ -207,6 +207,7 @@ static __inline__ unsigned long __ffs(unsigned long word) #endif /* __KERNEL__ */ #include +#include #include #endif /* _H8300_BITOPS_H */