summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2014-01-29 16:33:56 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-01-29 16:58:49 +1100
commitd765ff23e3181413fb1bed090c8d702165448a84 (patch)
treebc0a4f69042b3e7875b11111970e28072c70b179 /drivers/cpuidle/Makefile
parent67bfa0ee6691f62d5e2d9602d032a19716fe7b34 (diff)
downloadop-kernel-dev-d765ff23e3181413fb1bed090c8d702165448a84.zip
op-kernel-dev-d765ff23e3181413fb1bed090c8d702165448a84.tar.gz
powerpc: Fix 32-bit frames for signals delivered when transactional
Commit d31626f70b61 ("powerpc: Don't corrupt transactional state when using FP/VMX in kernel") introduced a bug where the uc_link and uc_regs fields of the ucontext_t that is created to hold the transactional values of the registers in a 32-bit signal frame didn't get set correctly. The reason is that we now clear the MSR_TS bits in the MSR in save_tm_user_regs(), before the code that sets uc_link and uc_regs. To fix this, we move the setting of uc_link and uc_regs into the same if statement that selects whether to call save_tm_user_regs() or save_user_regs(). Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/cpuidle/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud