aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/ptrace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index bf76562167c3..36db6f5cb54c 100644
--- a/arch/powerpc/kernel/ptrace.c
+++ b/arch/powerpc/kernel/ptrace.c
@@ -434,6 +434,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
434 break; 434 break;
435 } 435 }
436 436
437#ifdef CONFIG_PPC64
437 case PPC_PTRACE_GETFPREGS: { /* Get FPRs 0 - 31. */ 438 case PPC_PTRACE_GETFPREGS: { /* Get FPRs 0 - 31. */
438 int i; 439 int i;
439 unsigned long *reg = &((unsigned long *)child->thread.fpr)[0]; 440 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)
467 } 468 }
468 break; 469 break;
469 } 470 }
471#endif /* CONFIG_PPC64 */
470 472
471#ifdef CONFIG_ALTIVEC 473#ifdef CONFIG_ALTIVEC
472 case PTRACE_GETVRREGS: 474 case PTRACE_GETVRREGS: