summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/geode.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-06-02 08:22:59 +0200
committerPaul Mackerras <paulus@samba.org>2008-06-09 03:32:36 +0200
commit0be234a46596cd19eb56d2cf46836de8221afb6b (patch)
tree5752259ba499e1e0e033df1fb59b8c57521a91ba /include/asm-x86/geode.h
parent[POWERPC] boot/Makefile CONFIG_ variable fixes (diff)
downloadlinux-0be234a46596cd19eb56d2cf46836de8221afb6b.tar.xz
linux-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 <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-x86/geode.h')
0 files changed, 0 insertions, 0 deletions