page align emergency stack

Anton Blanchard anton at samba.org
Fri Jul 16 00:57:08 EST 2004


Page align the emergency stack.

Signed-off-by: Anton Blanchard <anton at samba.org>

===== arch/ppc64/kernel/pacaData.c 1.15 vs edited =====
--- 1.15/arch/ppc64/kernel/pacaData.c	Fri Jul  2 15:23:46 2004
+++ edited/arch/ppc64/kernel/pacaData.c	Tue Jul 13 12:40:05 2004
@@ -30,7 +30,7 @@
 /* Stack space used when we detect a bad kernel stack pointer, and
  * early in SMP boots before relocation is enabled.
  */
-char emergency_stack[PAGE_SIZE * NR_CPUS];
+char emergency_stack[PAGE_SIZE * NR_CPUS] __page_aligned;

 /* The Paca is an array with one entry per processor.  Each contains an
  * ItLpPaca, which contains the information shared between the

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list