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>
This commit is contained in:
Michael Neuling 2008-07-29 01:13:14 +10:00 коммит произвёл Benjamin Herrenschmidt
Родитель 9842727da7
Коммит 33b3f03dcc
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -294,6 +294,8 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
case PTRACE_SETFPREGS: case PTRACE_SETFPREGS:
case PTRACE_GETVRREGS: case PTRACE_GETVRREGS:
case PTRACE_SETVRREGS: case PTRACE_SETVRREGS:
case PTRACE_GETVSRREGS:
case PTRACE_SETVSRREGS:
case PTRACE_GETREGS64: case PTRACE_GETREGS64:
case PTRACE_SETREGS64: case PTRACE_SETREGS64:
case PPC_PTRACE_GETFPREGS: case PPC_PTRACE_GETFPREGS: