summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/perf_event.c
diff options
context:
space:
mode:
authorDaniel Thompson2015-01-09 18:30:13 +0100
committerRussell King2015-01-12 20:26:57 +0100
commita18f36453e0788d2d285a62b85c7c668ec119a64 (patch)
tree58a7608414858d990b7fd969a4b3171f65f2b7e0 /arch/arm/kernel/perf_event.c
parentARM: 8275/1: mm: fix PMD_SECT_RDONLY undeclared compile error (diff)
downloadkernel-qcow2-linux-a18f36453e0788d2d285a62b85c7c668ec119a64.tar.gz
kernel-qcow2-linux-a18f36453e0788d2d285a62b85c7c668ec119a64.tar.xz
kernel-qcow2-linux-a18f36453e0788d2d285a62b85c7c668ec119a64.zip
ARM: 8266/1: Remove early stack deallocation from restore_user_regs
Currently restore_user_regs deallocates the SVC stack early in its execution and relies on no exception being taken between the deallocation and the registers being restored. The introduction of a default FIQ handler that also uses the SVC stack breaks this assumption and can result in corrupted register state. This patch works around the problem by removing the early stack deallocation and using r2 as a temporary instead. I have not found a way to do this without introducing an extra mov instruction to the macro. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions