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

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)