ARM: 8453/2: proc-v7.S: don't locate temporary stack space in .text section
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 4 Dec 2015 20:36:40 +0000 (21:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 17 Dec 2015 10:29:01 +0000 (10:29 +0000)
commitb563d0645123802448f9e8bf868c8bae552207ff
tree5992d691700d7370c51a4df03c74160faa2e444c
parent437682eeab45ab8c8c1e027afd023e39f32f9032
ARM: 8453/2: proc-v7.S: don't locate temporary stack space in .text section

The proc-v7.S code uses a small temporary stack to preserve register
content in its setup code. This stack is located in the .text section
which is normally meant to be read-only.

Move that temporary stack to the .bss section and get its address in
a position independent way, similarly to what we do in other parts
of the kernel.

While at it, one comments was updated to reflect reality, and the list
of saved registers in the proc-v7.S case is updated to match the comment
next to it for coherency.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7.S
This page took 0.025408 seconds and 5 git commands to generate.