patch-2.1.115 linux/arch/sparc/ap1000/aplib.c

Next file: linux/arch/sparc/ap1000/mpp.c
Previous file: linux/arch/sparc/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.114/linux/arch/sparc/ap1000/aplib.c linux/arch/sparc/ap1000/aplib.c
@@ -455,7 +455,7 @@
 
 	while (counter == aplib->rbuf_flag1 + aplib->rbuf_flag2) {
 		tnet_check_completion();
-		if (need_resched)
+		if (current->need_resched)
 			break;
 		if (signal_pending(current)) break;
 	}

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