summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ptrace32.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2008-07-28 17:13:14 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-30 07:26:54 +0200
commit33b3f03dccc26c377e9689790ecc41079a0c9ca7 (patch)
treeed815eb43836c1da4928f21d1f2252cf9c2ea089 /arch/powerpc/kernel/ptrace32.c
parentide/powermac: Fix use of uninitialized pointer on media-bay (diff)
downloadlinux-33b3f03dccc26c377e9689790ecc41079a0c9ca7.tar.xz
linux-33b3f03dccc26c377e9689790ecc41079a0c9ca7.zip
powerpc: Correctly hookup PTRACE_GET/SETVSRREGS for 32 bit processes
Fix bug where PTRACE_GET/SETVSRREGS are not connected for 32 bit processes. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/ptrace32.c')
-rw-r--r--arch/powerpc/kernel/ptrace32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ptrace32.c b/arch/powerpc/kernel/ptrace32.c
index 67bf1a1e7e14..197d49c790ad 100644
--- a/arch/powerpc/kernel/ptrace32.c
+++ b/arch/powerpc/kernel/ptrace32.c
@@ -294,6 +294,8 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
case PTRACE_SETFPREGS:
case PTRACE_GETVRREGS:
case PTRACE_SETVRREGS:
+ case PTRACE_GETVSRREGS:
+ case PTRACE_SETVSRREGS:
case PTRACE_GETREGS64:
case PTRACE_SETREGS64:
case PPC_PTRACE_GETFPREGS: