diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/ptrace.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index 6b66cd85b433..97d5dede8173 100644 --- a/arch/powerpc/kernel/ptrace.c +++ b/arch/powerpc/kernel/ptrace.c | |||
@@ -975,15 +975,13 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
975 | case PTRACE_GETVSRREGS: | 975 | case PTRACE_GETVSRREGS: |
976 | return copy_regset_to_user(child, &user_ppc_native_view, | 976 | return copy_regset_to_user(child, &user_ppc_native_view, |
977 | REGSET_VSX, | 977 | REGSET_VSX, |
978 | 0, (32 * sizeof(vector128) + | 978 | 0, 32 * sizeof(double), |
979 | sizeof(u32)), | ||
980 | (void __user *) data); | 979 | (void __user *) data); |
981 | 980 | ||
982 | case PTRACE_SETVSRREGS: | 981 | case PTRACE_SETVSRREGS: |
983 | return copy_regset_from_user(child, &user_ppc_native_view, | 982 | return copy_regset_from_user(child, &user_ppc_native_view, |
984 | REGSET_VSX, | 983 | REGSET_VSX, |
985 | 0, (32 * sizeof(vector128) + | 984 | 0, 32 * sizeof(double), |
986 | sizeof(u32)), | ||
987 | (const void __user *) data); | 985 | (const void __user *) data); |
988 | #endif | 986 | #endif |
989 | #ifdef CONFIG_SPE | 987 | #ifdef CONFIG_SPE |