]> err.no Git - linux-2.6/commit
powerpc: fix giveup_vsx to save registers correctly
authorMichael Neuling <mikey@neuling.org>
Fri, 11 Jul 2008 06:29:12 +0000 (16:29 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 15 Jul 2008 02:29:23 +0000 (12:29 +1000)
commit7c29217096d83f657e6ee70479af09b46f4275f6
tree96fd96226d2998b1f56d7fb8110e27c489dbba89
parent01f4b8b8b8db09b88be7df7e51192e4e678b69d3
powerpc: fix giveup_vsx to save registers correctly

giveup_vsx didn't save the FPU and VMX regsiters.  Change it to be
like giveup_fpr/altivec which save these registers.

Also update call sites where FPU and VMX are already saved to use the
original giveup_vsx (renamed to __giveup_vsx).

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/misc_64.S
arch/powerpc/kernel/process.c
arch/powerpc/kernel/signal_32.c
arch/powerpc/kernel/signal_64.c
include/asm-powerpc/system.h