diff options
| author | Michael Neuling <mikey@neuling.org> | 2013-06-09 21:23:16 +1000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-06-20 17:05:18 +1000 |
| commit | fee55450710dff32a13ae30b4129ec7b5a4b44d0 (patch) | |
| tree | 9aea8b3e1d80e274f1407abedabb925a82aaa604 /tools/perf/scripts/python | |
| parent | powerpc/tm: Fix writing top half of MSR on 32 bit signals (diff) | |
| download | linux-fee55450710dff32a13ae30b4129ec7b5a4b44d0.tar.gz linux-fee55450710dff32a13ae30b4129ec7b5a4b44d0.zip | |
powerpc/tm: Fix 32 bit non-rt signals
Currently sys_sigreturn() is TM unaware. Therefore, if we take a 32 bit signal
without SIGINFO (non RT) inside a transaction, on signal return we don't
restore the signal frame correctly.
This checks if the signal frame being restoring is an active transaction, and
if so, it copies the additional state to ptregs so it can be restored.
Signed-off-by: Michael Neuling <mikey@neuling.org>
cc: stable@vger.kernel.org (v3.9+)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
