projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ddabc2
)
m32r: define __fls
author
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:46:54 +0000
(16:16 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:46:54 +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>
include/asm-m32r/bitops.h
patch
|
blob
|
history
diff --git
a/include/asm-m32r/bitops.h
b/include/asm-m32r/bitops.h
index
6dc9b81
..
aaddf0d
100644
(file)
--- 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__