diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-29 15:37:24 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-17 05:02:55 -0400 |
commit | 88237c25aa4fe0dad177ae11214136ad78bc908f (patch) | |
tree | e40f6c66c7b653176c5d473c26a2fd1b911a17e8 /arch | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (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')
-rw-r--r-- | arch/arm/boot/compressed/head.S | 3 |
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 | |||
315 | .word _image_size @ r6 | 315 | .word _image_size @ r6 |
316 | .word _got_start @ r11 | 316 | .word _got_start @ r11 |
317 | .word _got_end @ ip | 317 | .word _got_end @ ip |
318 | .word user_stack+4096 @ sp | 318 | .word user_stack_end @ sp |
319 | LC1: .word reloc_end - reloc_start | 319 | LC1: .word reloc_end - reloc_start |
320 | .size LC0, . - LC0 | 320 | .size LC0, . - LC0 |
321 | 321 | ||
@@ -1070,3 +1070,4 @@ reloc_end: | |||
1070 | .align | 1070 | .align |
1071 | .section ".stack", "w" | 1071 | .section ".stack", "w" |
1072 | user_stack: .space 4096 | 1072 | user_stack: .space 4096 |
1073 | user_stack_end: | ||