From: Cyrill Gorcunov Date: Sun, 17 Feb 2008 15:17:18 +0000 (+0300) Subject: x86: lds - Use THREAD_SIZE instead of numeric constant X-Git-Tag: v2.6.25-rc3~109^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85c42d0dbb129b6bff560dacabec753677d64081;p=platform%2Fkernel%2Flinux-exynos.git x86: lds - Use THREAD_SIZE instead of numeric constant Though we use PDA for regular task stack but that is not acceptable for init_task wich is special one. We still have to allocate init_task's stack in that manner. Signed-off-by: Cyrill Gorcunov Acked-by: Sam Ravnborg Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/vmlinux_64.lds.S b/arch/x86/kernel/vmlinux_64.lds.S index 5e9ec1b..fab1322 100644 --- a/arch/x86/kernel/vmlinux_64.lds.S +++ b/arch/x86/kernel/vmlinux_64.lds.S @@ -129,7 +129,7 @@ SECTIONS #undef VVIRT_OFFSET #undef VVIRT - . = ALIGN(8192); /* init_task */ + . = ALIGN(THREAD_SIZE); /* init_task */ .data.init_task : AT(ADDR(.data.init_task) - LOAD_OFFSET) { *(.data.init_task) }:data.init