patch-2.4.25 linux-2.4.25/arch/ppc64/kernel/signal.c

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

diff -urN linux-2.4.24/arch/ppc64/kernel/signal.c linux-2.4.25/arch/ppc64/kernel/signal.c
@@ -296,7 +296,9 @@
 			newsp = (current->sas_ss_sp + current->sas_ss_size);
 	}
 
-        return (void *)((newsp - frame_size) & -8ul);
+	/* The ABI requires quadword alignment for the stack. */
+	return (void *)((newsp - frame_size) & -16ul);
+
 }
 
 static int

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