patch-2.1.127 linux/drivers/net/sktr.c
Next file: linux/drivers/net/tlan.c
Previous file: linux/drivers/net/ppp.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Nov 5 09:58:44 1998
- Orig file:
v2.1.126/linux/drivers/net/sktr.c
- Orig date:
Fri Oct 23 22:01:21 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/net/sktr.c linux/drivers/net/sktr.c
@@ -1526,12 +1526,11 @@
{
long tmp;
- tmp = jiffies + time/(1000000/HZ);
+ tmp = time/(1000000/HZ);
do {
- current->timeout = tmp;
current->state = TASK_INTERRUPTIBLE;
- schedule();
- } while(tmp > jiffies);
+ tmp = schedule_timeout(tmp);
+ } while(tmp);
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov