patch-2.4.22 linux-2.4.22/arch/s390x/kernel/signal.c

Next file: linux-2.4.22/arch/s390x/kernel/signal32.c
Previous file: linux-2.4.22/arch/s390x/kernel/setup.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/s390x/kernel/signal.c linux-2.4.22/arch/s390x/kernel/signal.c
@@ -575,10 +575,7 @@
                                 /* FALLTHRU */
 
 			default:
-				sigaddset(&current->pending.signal, signr);
-				recalc_sigpending(current);
-				current->flags |= PF_SIGNALED;
-				do_exit(exit_code);
+				sig_exit(signr, exit_code, &info);
 				/* NOTREACHED */
 			}
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)