Commit 9ddabc2a authored by Rusty Russell's avatar Rusty Russell

h8300: define __fls

Like fls, but can't be handed 0 and returns the bit number.
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent ee38e514
......@@ -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 */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment