diff options
author | Christian Ruppert <christian.ruppert@abilis.com> | 2013-10-02 11:13:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-18 07:45:45 -0700 |
commit | 19a420033da02200c424adfa3a7b9eed6e3a6dc2 (patch) | |
tree | 1cb4383772ec6393acdad086db77fb63526316f0 /drivers/watchdog | |
parent | 0c06a0a693a5baaeacdb4c9485d5d6d490ea8a23 (diff) | |
download | linux-3.10-19a420033da02200c424adfa3a7b9eed6e3a6dc2.tar.gz linux-3.10-19a420033da02200c424adfa3a7b9eed6e3a6dc2.tar.bz2 linux-3.10-19a420033da02200c424adfa3a7b9eed6e3a6dc2.zip |
ARC: Fix signal frame management for SA_SIGINFO
commit 10469350e345599dfef3fa78a7c19fb230e674c1 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions