diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-06-02 02:22:59 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-08 21:32:36 -0400 |
commit | 0be234a46596cd19eb56d2cf46836de8221afb6b (patch) | |
tree | 5752259ba499e1e0e033df1fb59b8c57521a91ba /include/asm-v850/processor.h | |
parent | efa58fbf19fb778a8ad2fd000a6dfa9c75263a37 (diff) |
[POWERPC] Fix incorrect enabling of VMX when building signal or user context
When building a signal or a ucontext, we can incorrectly set the MSR_VEC
bit of the kernel pt_regs->msr before returning to userspace if the task
-ever- used VMX.
This can lead to funny result if that stack used it in the past, then
"lost" it (ie. it wasn't enabled after a context switch for example)
and then called get_context. It can end up with VMX enabled and the
registers containing values from some other task.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-v850/processor.h')
0 files changed, 0 insertions, 0 deletions