]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc: Correctly hookup PTRACE_GET/SETVSRREGS for 32 bit processes
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)
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>
arch/powerpc/kernel/ptrace32.c

index 67bf1a1e7e1442f7a3ab9485fc2d95ad17a543f7..197d49c790ad55b2e67b6b5a989bb9b958dfd14c 100644 (file)
@@ -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: