Re: [-mm PATCH 1/32] include: update jiffies/{m,u}secs conversion functions

Andrew Morton
2005-08-17T23:32:49Z

Nishanth Aravamudan <nacc@us.ibm.com> wrote:
>
> Description: Clarify the human-time units to jiffies conversion
> functions by using the constants in time.h. This makes many of the
> subsequent patches direct copies of the current code.
>
>
> /* Parameters used to convert the timespec values */
> +#ifndef MSEC_PER_SEC
> +#define MSEC_PER_SEC (1000L)
> +#endif
> +
> #ifndef USEC_PER_SEC
> #define USEC_PER_SEC (1000000L)
> #endif

Bah. There's no MSEC_PER_SEC defined anywhere in the tree, so the ifndef
isn't needed. Nor is the one for USEC_PER_SEC, come to that. I'll kill
them.