patch-2.4.20 linux-2.4.20/drivers/char/drm-4.0/ffb_drv.c
Next file: linux-2.4.20/drivers/char/drm-4.0/i810_dma.c
Previous file: linux-2.4.20/drivers/char/drm/sis_mm.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Nov 28 15:53:12 2002
- Orig file:
linux-2.4.19/drivers/char/drm-4.0/ffb_drv.c
- Orig date:
Mon Feb 25 11:37:57 2002
diff -urN linux-2.4.19/drivers/char/drm-4.0/ffb_drv.c linux-2.4.20/drivers/char/drm-4.0/ffb_drv.c
@@ -710,8 +710,7 @@
/* Contention */
atomic_inc(&dev->total_sleeps);
current->state = TASK_INTERRUPTIBLE;
- current->policy |= SCHED_YIELD;
- schedule();
+ yield();
if (signal_pending(current)) {
ret = -ERESTARTSYS;
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)