patch-2.1.127 linux/drivers/sound/sscape.c
Next file: linux/drivers/sound/wavfront.c
Previous file: linux/drivers/sound/sonicvibes.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Nov 3 22:46:00 1998
- Orig file:
v2.1.126/linux/drivers/sound/sscape.c
- Orig date:
Thu May 14 19:47:42 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/sound/sscape.c linux/drivers/sound/sscape.c
@@ -124,10 +124,8 @@
static void sleep(unsigned howlong)
{
- current->timeout = jiffies + 1;
current->state = TASK_INTERRUPTIBLE;
- schedule();
- current->timeout = 0;
+ schedule_timeout(1);
}
static unsigned char sscape_read(struct sscape_info *devc, int reg)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov