diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-03 06:46:54 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-03 06:46:54 +0100 |
commit | 16a206260ee70f181de6a3672678545859589ef2 (patch) | |
tree | 26fc048b4867676fd80e8e9819cb55ddb73d8f40 /include | |
parent | h8300: define __fls (diff) | |
download | linux-16a206260ee70f181de6a3672678545859589ef2.tar.xz linux-16a206260ee70f181de6a3672678545859589ef2.zip |
m32r: 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 'include')
-rw-r--r-- | include/asm-m32r/bitops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-m32r/bitops.h b/include/asm-m32r/bitops.h index 6dc9b81bf9f3..aaddf0d57603 100644 --- a/include/asm-m32r/bitops.h +++ b/include/asm-m32r/bitops.h @@ -251,6 +251,7 @@ static __inline__ int test_and_change_bit(int nr, volatile void * addr) #include <asm-generic/bitops/ffz.h> #include <asm-generic/bitops/__ffs.h> #include <asm-generic/bitops/fls.h> +#include <asm-generic/bitops/__fls.h> #include <asm-generic/bitops/fls64.h> #ifdef __KERNEL__ |