patch-2.1.127 linux/drivers/sound/maui.c
Next file: linux/drivers/sound/midibuf.c
Previous file: linux/drivers/sound/gus_wave.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Nov 5 09:58:46 1998
- Orig file:
v2.1.126/linux/drivers/sound/maui.c
- Orig date:
Thu May 14 19:47:42 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/sound/maui.c linux/drivers/sound/maui.c
@@ -81,10 +81,8 @@
{
if (inb(HOST_STAT_PORT) & mask)
return 1;
- current->timeout = jiffies + HZ / 10;
current->state = TASK_INTERRUPTIBLE;
- schedule();
- current->timeout = 0;
+ schedule_timeout(HZ / 10);
if (signal_pending(current))
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov