git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b8d4c
)
blackfin: define __fls
author
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:17 +0000
(10:12 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:17 +0000
(10:12 +1030)
Like fls, but can't be handed 0 and returns the bit number.
(I broke this arch in linux-next by using __fls in generic code).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/bitops.h
patch
|
blob
|
history
diff --git
a/arch/blackfin/include/asm/bitops.h
b/arch/blackfin/include/asm/bitops.h
index
b39a175
..
c428e41
100644
(file)
--- a/
arch/blackfin/include/asm/bitops.h
+++ b/
arch/blackfin/include/asm/bitops.h
@@
-213,6
+213,7
@@
static __inline__ int __test_bit(int nr, const void *addr)
#endif /* __KERNEL__ */
#include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
#include <asm-generic/bitops/fls64.h>
#endif /* _BLACKFIN_BITOPS_H */