]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: lds - Use THREAD_SIZE instead of numeric constant
authorCyrill Gorcunov <gorcunov@gmail.com>
Sun, 17 Feb 2008 15:17:18 +0000 (18:17 +0300)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:34 +0000 (16:18 +0100)
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 <gorcunov@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/vmlinux_64.lds.S

index 5e9ec1b33c1018f5e0c3bd696fd2d547b7c60b2e..fab1322997359f8a95d011c10a41b4acfa0bf60f 100644 (file)
@@ -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