summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/ptrace.h')
-rw-r--r--include/asm-cris/ptrace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-cris/ptrace.h b/include/asm-cris/ptrace.h
index 1ec69a7ea836..d910925e3174 100644
--- a/include/asm-cris/ptrace.h
+++ b/include/asm-cris/ptrace.h
@@ -4,11 +4,13 @@
#include <asm/arch/ptrace.h>
#ifdef __KERNEL__
+
/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
#define PTRACE_GETREGS 12
#define PTRACE_SETREGS 13
-#endif
#define profile_pc(regs) instruction_pointer(regs)
+#endif /* __KERNEL__ */
+
#endif /* _CRIS_PTRACE_H */