mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
[PATCH] fix generic_fls64()
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>
This commit is contained in:
parent
c9ab8b68e2
commit
f434baf4c6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user