summaryrefslogtreecommitdiff
path: root/arch/h8300
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-01-03 08:46:04 +0300
committerRusty Russell <rusty@rustcorp.com.au>2009-01-03 08:46:04 +0300
commit9ddabc2a29163e4b243d10c5e06fc5584073d7ad (patch)
tree8dc8f18dad59db86ad91e0500b35aa1558838c92 /arch/h8300
parentee38e5140bafbf40e1bd25ab917ac8db54a27799 (diff)
downloadlinux-9ddabc2a29163e4b243d10c5e06fc5584073d7ad.tar.xz
h8300: define __fls
Like fls, but can't be handed 0 and returns the bit number. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/h8300')
-rw-r--r--arch/h8300/include/asm/bitops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/bitops.h b/arch/h8300/include/asm/bitops.h
index cb18e3b0aa94..cb9ddf5fc54f 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 <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
#include <asm-generic/bitops/fls64.h>
#endif /* _H8300_BITOPS_H */