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

Next file: linux/arch/sparc/kernel/systbls.S
Previous file: linux/arch/sparc/ap1000/aplib.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/arch/sparc/ap1000/util.c linux/arch/sparc/ap1000/util.c
@@ -376,7 +376,7 @@
 		add_timer(timer);
 		interruptible_sleep_on(&timer_wait);
 		del_timer(timer);
-		if (current->signal & ~current->blocked)
+		if (signal_pending(current))
 			return -EINTR;
 	}
 	kfree_s(timer,sizeof(*timer));

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