diff options
author | Michael Neuling <mikey@neuling.org> | 2013-06-09 11:23:16 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-06-20 07:05:18 (GMT) |
commit | fee55450710dff32a13ae30b4129ec7b5a4b44d0 (patch) | |
tree | 9aea8b3e1d80e274f1407abedabb925a82aaa604 /arch/sh | |
parent | 1d25f11fdbcc5390d68efd98c28900bfd29b264c (diff) | |
download | linux-fsl-qoriq-fee55450710dff32a13ae30b4129ec7b5a4b44d0.tar.xz |
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 'arch/sh')
0 files changed, 0 insertions, 0 deletions