Messages in this thread | | | Subject | RE: [patch 10/44] generic fls64() | Date | Thu, 2 Feb 2006 09:05:33 -0600 | From | "Rune Torgersen" <> |
| |
> 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 > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev > > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |