MCA/INIT: align the initial task
PATCH 6/7 MCA/INIT: align the initial task
Align the stack for the initial task to be the same alignment as all other process stacks. Otherwise the validation code needs special cases for the intial task, it is currently only page aligned.
Signed-off-by Keith Owens <[email protected]>
---
vmlinux.lds.S | 1 + 1 files changed, 1 insertion(+)
Index: linux/arch/ia64/kernel/vmlinux.lds.S
=================================--- linux.orig/arch/ia64/kernel/vmlinux.lds.S 2005-08-17 14:34:38.404220401 +1000
+++ linux/arch/ia64/kernel/vmlinux.lds.S 2005-08-17 14:36:24.052711993 +1000
@@ -165,6 +165,7 @@ SECTIONS
__init_end = .;
/* The initial task and kernel stack */
+ . = ALIGN(KERNEL_STACK_SIZE);
.data.init_task : AT(ADDR(.data.init_task) - LOAD_OFFSET)
{ *(.data.init_task) }