patch-2.1.128 linux/drivers/sound/dmasound.c

Next file: linux/drivers/sound/mad16.c
Previous file: linux/drivers/sound/dmabuf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.127/linux/drivers/sound/dmasound.c linux/drivers/sound/dmasound.c
@@ -816,7 +816,7 @@
 #define ONE_SECOND	HZ	/* in jiffies (100ths of a second) */
 #define NO_TIME_LIMIT	0xffffffff
 #define SLEEP(queue, time_limit) \
-	interruptible_sleep_on(&queue, (time_limit));
+	interruptible_sleep_on_timeout(&queue, (time_limit));
 #define WAKE_UP(queue)	(wake_up_interruptible(&queue))
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov