patch-2.1.110 linux/drivers/misc/parport_ieee1284.c

Next file: linux/drivers/misc/parport_pc.c
Previous file: linux/drivers/misc/parport_ax.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/drivers/misc/parport_ieee1284.c linux/drivers/misc/parport_ieee1284.c
@@ -30,7 +30,7 @@
 		if ((status & mask) == result)
 			return 0;
 		udelay(25);
-		if (need_resched)
+		if (current->need_resched)
 			schedule();
 	}
 	current->state = TASK_INTERRUPTIBLE;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov