patch-2.1.127 linux/drivers/char/dsp56k.c
Next file: linux/drivers/char/epca.c
Previous file: linux/drivers/char/cyclades.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Sat Oct 31 11:05:37 1998
-  Orig file: 
v2.1.126/linux/drivers/char/dsp56k.c
-  Orig date: 
Wed Aug 26 11:37:36 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/char/dsp56k.c linux/drivers/char/dsp56k.c
@@ -63,8 +63,7 @@
 #define wait_some(n) \
 { \
 	current->state = TASK_INTERRUPTIBLE; \
-	current->timeout = jiffies + n; \
-	schedule(); \
+	schedule_timeout(n); \
 }
 
 #define handshake(count, maxio, timeout, ENABLE, f) \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov