Alan Cox wrote:
> > > Isn't (HZ >> 1) better?
> >
> > Same thing. GCC knows that division by a power of 2 is just a shift.
>
> Only for unsigned
Or when HZ is constant :)
-- J?amie
-
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/
This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:59 EST