powerpc: Don't use the wrong thread_struct for ptrace get/set VSX regs
authorMichael Neuling <mikey@neuling.org>
Mon, 28 Jul 2008 15:13:14 +0000 (01:13 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Jul 2008 05:26:54 +0000 (15:26 +1000)
commit7d2a175b9bf6e9422bebe95130a3c79a25ff4602
tree1684ca0a8af75d6f8e3602a7c70dec27ad08b896
parent1ac42ef844d7c0996f15c6f94f463ac94cb80818
powerpc: Don't use the wrong thread_struct for ptrace get/set VSX regs

In PTRACE_GET/SETVSRREGS, we should be using the thread we are
ptracing rather than current.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/ptrace.c