patch-2.1.132 linux/arch/m68k/atari/atakeyb.c
Next file: linux/arch/m68k/bvme6000/bvmeints.c
Previous file: linux/arch/m68k/amiga/pcmcia.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Dec 17 09:06:29 1998
-  Orig file: 
v2.1.131/linux/arch/m68k/atari/atakeyb.c
-  Orig date: 
Mon Aug  3 12:45:44 1998
diff -u --recursive --new-file v2.1.131/linux/arch/m68k/atari/atakeyb.c linux/arch/m68k/atari/atakeyb.c
@@ -825,7 +825,7 @@
     /* wait for a period of inactivity (here: 0.25s), then assume the IKBD's
      * self-test is finished */
     self_test_last_rcv = jiffies;
-    while( jiffies < self_test_last_rcv + HZ/4 )
+    while (time_before(jiffies, self_test_last_rcv + HZ/4))
 	barrier();
     /* if not incremented: no 0xf1 received */
     if (ikbd_self_test == 1)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov