fix compares of jiffies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 27 Nov 2002, Mark D. Studebaker wrote:

> good idea,
> let's fix this after the 2.7.0 release

> >         DEB3(printk(" Write 0x%02x to 0x%x\n",(unsigned short)val, ctl&0xff));
> > -       DEB3({while (jiffies < j) schedule();})
> > +       DEB3({while (time_before(jiffies, j)) schedule();})
> >         outw(val,ctl);

Well only i2c-algo-bit was affected, and time_before() already was used
in i2c-algo-XXX so it was applied already among other things.

I will hold further commits to i2c-algo-bit after release.

-- 
  Ky?sti M?lkki
  kmalkki at cc.hut.fi



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux