diff options
author | Michael Neuling <mikey@neuling.org> | 2008-07-08 18:43:41 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-09 16:30:47 +1000 |
commit | c1cb299ead405f0ac065c4430729549b187e5b32 (patch) | |
tree | f61b78d06c8bc49e5b671bd065464613758dcefb /arch/mips/boot/Makefile | |
parent | 1b17adf19b4d66858f366acd82b4e81cba5edc93 (diff) |
powerpc: fix swapcontext backwards compat. with VSX ucontext changes
When the ucontext changed to add the VSX context, this broke backwards
compatibly on swapcontext. swapcontext only compares the ucontext size
passed in from the user to the new kernel ucontext size.
This adds a check against the old ucontext size (with VMX but without
VSX). It also adds some sanity check for ucontexts without VSX, but
where VSX is used according the MSR. Fixes for both 32 and 64bit
processes on 64bit kernels
Kudos to Paulus for noticing.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/mips/boot/Makefile')
0 files changed, 0 insertions, 0 deletions