patch-2.2.0-pre1 linux/drivers/sbus/char/bpp.c
Next file: linux/drivers/sbus/char/sab82532.c
Previous file: linux/drivers/pci/oldproc.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Dec 23 09:44:41 1998
- Orig file:
v2.1.132/linux/drivers/sbus/char/bpp.c
- Orig date:
Mon Oct 5 13:13:40 1998
diff -u --recursive --new-file v2.1.132/linux/drivers/sbus/char/bpp.c linux/drivers/sbus/char/bpp.c
@@ -337,8 +337,8 @@
* responds real good. The first while loop guesses an expire
* time accounting for possible wraparound of jiffies.
*/
- while (extime <= jiffies) extime = jiffies + 1;
- while ( (jiffies < extime)
+ while (time_after_eq(jiffies, extime) extime = jiffies + 1;
+ while ( (time_before(jiffies, extime))
&& (((pins & set) != set) || ((pins & clr) != 0)) ) {
pins = get_pins(minor);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov