summaryrefslogtreecommitdiffstats
path: root/include/asm-m32r
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-01-03 16:16:54 +1030
committerRusty Russell <rusty@rustcorp.com.au>2009-01-03 16:16:54 +1030
commit16a206260ee70f181de6a3672678545859589ef2 (patch)
tree26fc048b4867676fd80e8e9819cb55ddb73d8f40 /include/asm-m32r
parent9ddabc2a29163e4b243d10c5e06fc5584073d7ad (diff)
downloadop-kernel-dev-16a206260ee70f181de6a3672678545859589ef2.zip
op-kernel-dev-16a206260ee70f181de6a3672678545859589ef2.tar.gz
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/asm-m32r')
-rw-r--r--include/asm-m32r/bitops.h1
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__
OpenPOWER on IntegriCloud