|
@@ -434,6 +434,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PPC64
|
|
case PPC_PTRACE_GETFPREGS: { /* Get FPRs 0 - 31. */
|
|
case PPC_PTRACE_GETFPREGS: { /* Get FPRs 0 - 31. */
|
|
int i;
|
|
int i;
|
|
unsigned long *reg = &((unsigned long *)child->thread.fpr)[0];
|
|
unsigned long *reg = &((unsigned long *)child->thread.fpr)[0];
|
|
@@ -467,6 +468,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
+#endif /* CONFIG_PPC64 */
|
|
|
|
|
|
#ifdef CONFIG_ALTIVEC
|
|
#ifdef CONFIG_ALTIVEC
|
|
case PTRACE_GETVRREGS:
|
|
case PTRACE_GETVRREGS:
|