summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-01-03 16:16:04 +1030
committerRusty Russell <rusty@rustcorp.com.au>2009-01-03 16:16:04 +1030
commit9ddabc2a29163e4b243d10c5e06fc5584073d7ad (patch)
tree8dc8f18dad59db86ad91e0500b35aa1558838c92 /arch
parentee38e5140bafbf40e1bd25ab917ac8db54a27799 (diff)
downloadop-kernel-dev-9ddabc2a29163e4b243d10c5e06fc5584073d7ad.zip
op-kernel-dev-9ddabc2a29163e4b243d10c5e06fc5584073d7ad.tar.gz
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')
-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 cb18e3b..cb9ddf5 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 */
OpenPOWER on IntegriCloud