patch-2.4.19 linux-2.4.19/arch/parisc/kernel/signal.c

Next file: linux-2.4.19/arch/parisc/kernel/syscall.S
Previous file: linux-2.4.19/arch/parisc/kernel/pdc_cons.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/parisc/kernel/signal.c linux-2.4.19/arch/parisc/kernel/signal.c
@@ -581,11 +581,7 @@
 				/* FALLTHRU */
 
 			default:
-				lock_kernel();
-				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)