Skip to contentSkip to conversation

MCA/INIT Align the initial task

PATCH New Keith Owens 1 participant 1 message Aug 17, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 5/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) }