projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c384cd
)
cris: define __fls
author
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:07:14 +0000
(15:37 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:07:14 +0000
(15:37 +1030)
Like fls, but can't be handed 0 and returns the bit number.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/cris/include/asm/bitops.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/cris/include/asm/bitops.h
b/arch/cris/include/asm/bitops.h
index c0e62f811e094a4aa09e788129e306c6e2647580..9e69cfb7f1342a86c4e22617d36cefbf6289de80 100644
(file)
--- 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)
#define ffs kernel_ffs
#include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
#include <asm-generic/bitops/fls64.h>
#include <asm-generic/bitops/hweight.h>
#include <asm-generic/bitops/find.h>