Skip to contentSkip to conversation

MCA/INIT: align the initial task

PATCH In review Keith Owens 1 participant 1 message Aug 30, 2005

lore
Share & tools
lore
#0 lore raw

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.

---

 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) }