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

Next file: linux-2.4.19/arch/arm/kernel/traps.c
Previous file: linux-2.4.19/arch/arm/kernel/semaphore.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/arm/kernel/signal.c linux-2.4.19/arch/arm/kernel/signal.c
@@ -344,7 +344,7 @@
 	/*
 	 * This is the X/Open sanctioned signal stack switching.
 	 */
-	if ((ka->sa.sa_flags & SA_ONSTACK) && sas_ss_flags(sp))
+	if ((ka->sa.sa_flags & SA_ONSTACK) && !sas_ss_flags(sp))
 		sp = current->sas_ss_sp + current->sas_ss_size;
 
 	/*

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