I came across this in old posts, applies to several i2c drivers. Trivial if you know when time_before() has appeared.. --- linux-2.4.20-pre6/drivers/i2c/i2c-adap-ite.c Sat Aug 3 02:39:44 2002 +++ linux-2.4.20-pre6-jfix/drivers/i2c/i2c-adap-ite.c Wed Sep 11 13:01:41 2002 @@ -82,7 +82,7 @@ unsigned long j = jiffies + 10; 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); } -- Ky?sti M?lkki kmalkki at cc.hut.fi