]> err.no Git - linux-2.6/commit
powerpc: Fix MSR setting in 32 bit signal code
authorMichael Neuling <mikey@neuling.org>
Wed, 25 Jun 2008 04:07:17 +0000 (14:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 01:28:42 +0000 (11:28 +1000)
commit9e7511861c4f8d35852a3721c5bcd92661cb4c9f
tree4d4a72ad915fc04e9750af0ca3ae91062644f1c9
parent9b09c6d909dfd8de96b99b9b9c808b94b0a71614
powerpc: Fix MSR setting in 32 bit signal code

If we set the SPE MSR bit in save_user_regs we can blow away the VEC
bit.  This doesn't matter in reality as they are in fact the same bit
but looks bad.

Also, when we add VSX in a later patch, we need to be able to set two
separate MSR bits here.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/signal_32.c