patch-2.2.0-pre1 linux/drivers/sbus/char/su.c
Next file: linux/drivers/scsi/README.tmscsim
Previous file: linux/drivers/sbus/char/sab82532.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Dec 23 09:44:41 1998
- Orig file:
v2.1.132/linux/drivers/sbus/char/su.c
- Orig date:
Thu Nov 19 09:56:28 1998
diff -u --recursive --new-file v2.1.132/linux/drivers/sbus/char/su.c linux/drivers/sbus/char/su.c
@@ -1818,7 +1818,7 @@
schedule_timeout(char_time);
if (signal_pending(current))
break;
- if (timeout && ((orig_jiffies + timeout) < jiffies))
+ if (timeout && time_after(jiffies, orig_jiffies + timeout))
break;
}
current->state = TASK_RUNNING;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov