Skip to content

Commit

Permalink
[PATCH] fix generic_fls64()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Feb 3, 2006
1 parent c9ab8b6 commit f434baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f434baf

Please sign in to comment.