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
- Lines: 11
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/ppc64/kernel/signal.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
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)