diff options
author | Michael Neuling <mikey@neuling.org> | 2008-07-28 11:13:14 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-30 01:26:54 -0400 |
commit | 33b3f03dccc26c377e9689790ecc41079a0c9ca7 (patch) | |
tree | ed815eb43836c1da4928f21d1f2252cf9c2ea089 /arch | |
parent | 9842727da7d95d8249087148048cc571f967c023 (diff) |
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')
-rw-r--r-- | arch/powerpc/kernel/ptrace32.c | 2 |
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, | |||
294 | case PTRACE_SETFPREGS: | 294 | case PTRACE_SETFPREGS: |
295 | case PTRACE_GETVRREGS: | 295 | case PTRACE_GETVRREGS: |
296 | case PTRACE_SETVRREGS: | 296 | case PTRACE_SETVRREGS: |
297 | case PTRACE_GETVSRREGS: | ||
298 | case PTRACE_SETVSRREGS: | ||
297 | case PTRACE_GETREGS64: | 299 | case PTRACE_GETREGS64: |
298 | case PTRACE_SETREGS64: | 300 | case PTRACE_SETREGS64: |
299 | case PPC_PTRACE_GETFPREGS: | 301 | case PPC_PTRACE_GETFPREGS: |