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

Next file: linux/arch/sparc/ap1000/util.c
Previous file: linux/arch/ppc/kernel/misc.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/arch/sparc/ap1000/aplib.c linux/arch/sparc/ap1000/aplib.c
@@ -457,7 +457,7 @@
 		tnet_check_completion();
 		if (resched_needed())
 			break;
-		if (current->signal & ~current->blocked) break;
+		if (signal_pending(current)) break;
 	}
 	return 0;
 }

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