]> err.no Git - linux-2.6/blobdiff - arch/powerpc/kernel/ptrace.c
[IA64] Increase max node count on SN platforms
[linux-2.6] / arch / powerpc / kernel / ptrace.c
index 3d2abd95c7aea05b23cfb8e9cc8db69ffd9e9838..bcb83574335b0e80821bae2e6f78349f90ed7da4 100644 (file)
@@ -36,8 +36,9 @@
 #include <asm/page.h>
 #include <asm/pgtable.h>
 #include <asm/system.h>
+
 #ifdef CONFIG_PPC64
-#include <asm/ptrace-common.h>
+#include "ptrace-common.h"
 #endif
 
 #ifdef CONFIG_PPC32
@@ -560,10 +561,7 @@ void do_syscall_trace_leave(struct pt_regs *regs)
                                   regs->result);
 
        if ((test_thread_flag(TIF_SYSCALL_TRACE)
-#ifdef CONFIG_PPC64
-            || test_thread_flag(TIF_SINGLESTEP)
-#endif
-            )
+            || test_thread_flag(TIF_SINGLESTEP))
            && (current->ptrace & PT_PTRACED))
                do_syscall_trace();
 }