diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-03 16:16:54 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-03 16:16:54 +1030 |
commit | 16a206260ee70f181de6a3672678545859589ef2 (patch) | |
tree | 26fc048b4867676fd80e8e9819cb55ddb73d8f40 | |
parent | 9ddabc2a29163e4b243d10c5e06fc5584073d7ad (diff) | |
download | kernel_goldelico_gta04-16a206260ee70f181de6a3672678545859589ef2.zip kernel_goldelico_gta04-16a206260ee70f181de6a3672678545859589ef2.tar.gz kernel_goldelico_gta04-16a206260ee70f181de6a3672678545859589ef2.tar.bz2 |
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>
-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 6dc9b81..aaddf0d 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__ |