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

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