projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee38e51
)
h8300: define __fls
author
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:46:04 +0000
(16:16 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:46:04 +0000
(16:16 +1030)
Like fls, but can't be handed 0 and returns the bit number.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/h8300/include/asm/bitops.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/h8300/include/asm/bitops.h
b/arch/h8300/include/asm/bitops.h
index cb18e3b0aa948520b8f7321e6ead3d00eb1d5cf2..cb9ddf5fc54ff3837c8393a8e891a8e4766216f9 100644
(file)
--- a/
arch/h8300/include/asm/bitops.h
+++ b/
arch/h8300/include/asm/bitops.h
@@
-207,6
+207,7
@@
static __inline__ unsigned long __ffs(unsigned long word)
#endif /* __KERNEL__ */
#include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
#include <asm-generic/bitops/fls64.h>
#endif /* _H8300_BITOPS_H */