patch-2.1.127 linux/drivers/sound/dmasound.c
Next file: linux/drivers/sound/es1370.c
Previous file: linux/drivers/sound/dmabuf.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Nov 4 09:47:40 1998
- Orig file:
v2.1.126/linux/drivers/sound/dmasound.c
- Orig date:
Wed Aug 26 11:37:39 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/sound/dmasound.c linux/drivers/sound/dmasound.c
@@ -816,8 +816,7 @@
#define ONE_SECOND HZ /* in jiffies (100ths of a second) */
#define NO_TIME_LIMIT 0xffffffff
#define SLEEP(queue, time_limit) \
- current->timeout = jiffies+(time_limit); \
- interruptible_sleep_on(&queue);
+ interruptible_sleep_on(&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