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

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

diff -u --recursive --new-file v2.1.50/linux/arch/sparc/ap1000/aplib.c linux/arch/sparc/ap1000/aplib.c
@@ -455,7 +455,8 @@
 
 	while (counter == aplib->rbuf_flag1 + aplib->rbuf_flag2) {
 		tnet_check_completion();
-		if (need_resched) break;
+		if (resched_needed())
+			break;
 		if (current->signal & ~current->blocked) break;
 	}
 	return 0;

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