patch-2.1.127 linux/drivers/isdn/hisax/arcofi.c
Next file: linux/drivers/isdn/hisax/asuscom.c
Previous file: linux/drivers/isdn/avmb1/b1capi.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Nov 5 09:58:43 1998
- Orig file:
v2.1.126/linux/drivers/isdn/hisax/arcofi.c
- Orig date:
Wed Apr 1 20:11:50 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/isdn/hisax/arcofi.c linux/drivers/isdn/hisax/arcofi.c
@@ -40,8 +40,7 @@
while (cnt && !test_bit(HW_MON1_TX_END, &cs->HW_Flags)) {
cnt--;
current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies + (10 * HZ) / 1000; /* Timeout 10ms */
- schedule();
+ schedule_timeout((10*HZ)/1000); /* Timeout 10ms */
}
restore_flags(flags);
sprintf(tmp, "arcofi tout %d", cnt);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov