aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <[email protected]>2008-06-02 06:22:59 +0000
committerPaul Mackerras <[email protected]>2008-06-09 01:32:36 +0000
commit0be234a46596cd19eb56d2cf46836de8221afb6b (patch)
tree5752259ba499e1e0e033df1fb59b8c57521a91ba /lib/debugobjects.c
parent[POWERPC] boot/Makefile CONFIG_ variable fixes (diff)
downloadkernel-0be234a46596cd19eb56d2cf46836de8221afb6b.tar.gz
kernel-0be234a46596cd19eb56d2cf46836de8221afb6b.zip
[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 <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions