summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-01-29 21:37:24 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-17 11:02:55 +0200
commit88237c25aa4fe0dad177ae11214136ad78bc908f (patch)
treee40f6c66c7b653176c5d473c26a2fd1b911a17e8 /arch/arm/boot
parent7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff)
ARM: zImage: don't hard code the stack size twice
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/compressed/head.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
index c5191b1532e8..390aa92ef04d 100644
--- a/arch/arm/boot/compressed/head.S
+++ b/arch/arm/boot/compressed/head.S
@@ -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: