[UPDATE PATCH 19/34]: include/jiffies: add usecs_to_jiffies() function

2005-02-03 Thread Nishanth Aravamudan
On Thu, Feb 03, 2005 at 10:07:15AM -0600, Makhlis, Lev wrote: > Nishanth Aravamudan <[EMAIL PROTECTED]> wrote: > > > +static inline unsigned long usecs_to_jiffies(const unsigned int u) > > +{ > > + if (u > jiffies_to_usecs(MAX_JIFFY_OFFSET)) > > + return MAX_JIFFY_OFFSET; > > +#if HZ

[UPDATE PATCH 19/34]: include/jiffies: add usecs_to_jiffies() function

2005-02-03 Thread Nishanth Aravamudan
On Thu, Feb 03, 2005 at 10:07:15AM -0600, Makhlis, Lev wrote: Nishanth Aravamudan [EMAIL PROTECTED] wrote: +static inline unsigned long usecs_to_jiffies(const unsigned int u) +{ + if (u jiffies_to_usecs(MAX_JIFFY_OFFSET)) + return MAX_JIFFY_OFFSET; +#if HZ = 1000 !(1000