diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-03 00:07:14 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-03 00:07:14 -0500 |
commit | 0999769e6cad9b0e5abb7c513c0c3f16821f0884 (patch) | |
tree | a3b48abf6454950045f14dff6e7ee9fa82e80428 /arch/cris/include/asm | |
parent | 8c384cdee3e04d6194a2c2b192b624754f990835 (diff) |
cris: 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/cris/include/asm')
-rw-r--r-- | arch/cris/include/asm/bitops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/cris/include/asm/bitops.h b/arch/cris/include/asm/bitops.h index c0e62f811e09..9e69cfb7f134 100644 --- a/arch/cris/include/asm/bitops.h +++ b/arch/cris/include/asm/bitops.h | |||
@@ -148,6 +148,7 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr) | |||
148 | #define ffs kernel_ffs | 148 | #define ffs kernel_ffs |
149 | 149 | ||
150 | #include <asm-generic/bitops/fls.h> | 150 | #include <asm-generic/bitops/fls.h> |
151 | #include <asm-generic/bitops/__fls.h> | ||
151 | #include <asm-generic/bitops/fls64.h> | 152 | #include <asm-generic/bitops/fls64.h> |
152 | #include <asm-generic/bitops/hweight.h> | 153 | #include <asm-generic/bitops/hweight.h> |
153 | #include <asm-generic/bitops/find.h> | 154 | #include <asm-generic/bitops/find.h> |