aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/ptrace.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index 875bfda90b21..c9c330d35c17 100644
--- a/arch/powerpc/kernel/ptrace.c
+++ b/arch/powerpc/kernel/ptrace.c
@@ -371,9 +371,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
371#endif 371#endif
372 break; 372 break;
373 373
374#ifdef CONFIG_PPC32
375 CHECK_FULL_REGS(child->thread.regs); 374 CHECK_FULL_REGS(child->thread.regs);
376#endif
377 if (index < PT_FPR0) { 375 if (index < PT_FPR0) {
378 tmp = ptrace_get_reg(child, (int) index); 376 tmp = ptrace_get_reg(child, (int) index);
379 } else { 377 } else {
@@ -410,9 +408,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
410#endif 408#endif
411 break; 409 break;
412 410
413#ifdef CONFIG_PPC32
414 CHECK_FULL_REGS(child->thread.regs); 411 CHECK_FULL_REGS(child->thread.regs);
415#endif
416 if (index == PT_ORIG_R3) 412 if (index == PT_ORIG_R3)
417 break; 413 break;
418 if (index < PT_FPR0) { 414 if (index < PT_FPR0) {