diff options
author | Christian Ruppert <christian.ruppert@abilis.com> | 2013-10-02 09:13:38 (GMT) |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-10-03 04:13:56 (GMT) |
commit | 10469350e345599dfef3fa78a7c19fb230e674c1 (patch) | |
tree | 41a94a0ab798c672c8f9cd087d2ee8856c0b409d /arch/arc/kernel/fpu.c | |
parent | 55c2e26204276b27f2b7a63123b701c950e45d89 (diff) | |
download | linux-fsl-qoriq-10469350e345599dfef3fa78a7c19fb230e674c1.tar.xz |
ARC: Fix signal frame management for SA_SIGINFO
Previously, when a signal was registered with SA_SIGINFO, parameters 2
and 3 of the signal handler were written to registers r1 and r2 before
the register set was saved. This led to corruption of these two
registers after returning from the signal handler (the wrong values were
restored).
With this patch, registers are now saved before any parameters are
passed, thus maintaining the processor state from before signal entry.
Signed-off-by: Christian Ruppert <christian.ruppert@abilis.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/fpu.c')
0 files changed, 0 insertions, 0 deletions