]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9190b73307f9d6f542798f83e3606b3afe6578a
tree1684ca0a8af75d6f8e3602a7c70dec27ad08b896
parent14ad7852cec8421db243479daa184fb43b1c81da
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