projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
434ae51
)
m68knommu: define __fls
author
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:18 +0000
(10:12 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 31 Dec 2008 23:42:18 +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>
arch/m68knommu/include/asm/bitops.h
patch
|
blob
|
history
diff --git
a/arch/m68knommu/include/asm/bitops.h
b/arch/m68knommu/include/asm/bitops.h
index 6f3685eab44c7f88818451d76599f934661a8785..9d3cbe5fad1efa3e9d9c4bb974a79aa63dd99718 100644
(file)
--- a/
arch/m68knommu/include/asm/bitops.h
+++ b/
arch/m68knommu/include/asm/bitops.h
@@
-331,6
+331,7
@@
found_middle:
#endif /* __KERNEL__ */
#include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
#include <asm-generic/bitops/fls64.h>
#endif /* _M68KNOMMU_BITOPS_H */