ARM: zImage: don't hard code the stack size twice
Uwe Kleine-König [Fri, 29 Jan 2010 20:37:24 +0000 (21:37 +0100)]
Acked-by: Eric Miao <eric.miao@canonical.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

arch/arm/boot/compressed/head.S

index c5191b1..390aa92 100644 (file)
@@ -315,7 +315,7 @@ LC0:                .word   LC0                     @ r1
                .word   _image_size             @ r6
                .word   _got_start              @ r11
                .word   _got_end                @ ip
-               .word   user_stack+4096         @ sp
+               .word   user_stack_end          @ sp
 LC1:           .word   reloc_end - reloc_start
                .size   LC0, . - LC0
 
@@ -1070,3 +1070,4 @@ reloc_end:
                .align
                .section ".stack", "w"
 user_stack:    .space  4096
+user_stack_end: