RE: [patch 10/44] generic fls64()
"Rune Torgersen" <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.ports.ia64,gmane.linux.ports.ppc.devel,gmane.linux.ports.sparc,gmane.linux.ports.ultrapenguin,gmane.linux.ports.sh.devel,gmane.linux.ports.hppa |
|---|---|
| Message-ID | <DCEAAC0833DD314AB0B58112AD99B93B859547@ismail.innsys.innovsys.com> |
> From: Akinobu Mita
> Sent: Wednesday, February 01, 2006 03:03
> +static inline int fls64(__u64 x)
> +{
> + __u32 h = 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_ */
>
> --
> _______________________________________________
> Linuxppc-dev mailing list
> [email protected]
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
>