projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9ab8b6
)
[PATCH] fix generic_fls64()
author
Akinobu Mita
<mita@miraclelinux.com>
Fri, 3 Feb 2006 11:03:46 +0000
(
03:03
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:00 +0000
(08:32 -0800)
Noticed by Rune Torgersen.
Fix generic_fls64(). tcp_cubic is using fls64().
Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/bitops.h
patch
|
blob
|
history
diff --git
a/include/linux/bitops.h
b/include/linux/bitops.h
index 6a2a19f14bb26bb3f4f49815b566c2a4e8353cab..208650b1ad3ac08a340d93e87729890d807a3bdb 100644
(file)
--- a/
include/linux/bitops.h
+++ b/
include/linux/bitops.h
@@
-81,7
+81,7
@@
static inline int generic_fls64(__u64 x)
{
__u32 h = x >> 32;
if (h)
- return fls(
x
) + 32;
+ return fls(
h
) + 32;
return fls(x);
}