Hi Thomas,
Thomas Chou wrote:
Make sure the init_task is aligned to the kernel thread size so we can
locate the kernel stack properly and quickly.
Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>
Applied, thanks.
Regards
Greg
diff --git a/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
b/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
index 491901c..05b6b2b 100644
--- a/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
+++ b/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
@@ -43,7 +43,7 @@ SECTIONS
* arch/mips/kernel/init_task.c:30: warning: alignment of
‘init_thread_union’
* is greater than maximum object file alignment. Using 32768
*/
- . = ALIGN(4096);
+ . = ALIGN(8192); /* MUST be 8192, the THREAD_SIZE */
*(.data.init_task)
*(.data)
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev