Thread (2 messages) flat view 2 messages, 2 authors, 2006-02-03

RE: [patch 10/44] generic fls64()

From: Rune Torgersen <hidden>
Date: 2006-02-02 15:05:45
Also in: linux-mips, lkml, sparclinux

From: Akinobu Mita
Sent: Wednesday, February 01, 2006 03:03
+static inline int fls64(__u64 x)
+{
+	__u32 h =3D x >> 32;
+	if (h)
+		return fls(x) + 32;
Shouldn't this be return fls(h) + 32; ??
                            ^^^
+	return fls(x);
+}
+
+#endif /* _ASM_GENERIC_BITOPS_FLS64_H_ */
=20
--
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
=20
=20
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help