diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2015-12-04 20:36:40 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-12-17 10:29:01 (GMT) |
commit | b563d0645123802448f9e8bf868c8bae552207ff (patch) | |
tree | 5992d691700d7370c51a4df03c74160faa2e444c /arch/arm/kernel/vdso.c | |
parent | 437682eeab45ab8c8c1e027afd023e39f32f9032 (diff) | |
download | linux-b563d0645123802448f9e8bf868c8bae552207ff.tar.xz |
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>
Diffstat (limited to 'arch/arm/kernel/vdso.c')
0 files changed, 0 insertions, 0 deletions