[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:
Akinobu Mita 2006-02-03 03:03:46 -08:00 committed by Linus Torvalds
parent c9ab8b68e2
commit f434baf4c6

View File

@ -81,7 +81,7 @@ static inline int generic_fls64(__u64 x)
{ {
__u32 h = x >> 32; __u32 h = x >> 32;
if (h) if (h)
return fls(x) + 32; return fls(h) + 32;
return fls(x); return fls(x);
} }