aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/ptrace.h')
-rw-r--r--include/asm-sparc/ptrace.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-sparc/ptrace.h b/include/asm-sparc/ptrace.h
index 714497099a42..8201a7b29d49 100644
--- a/include/asm-sparc/ptrace.h
+++ b/include/asm-sparc/ptrace.h
@@ -61,8 +61,6 @@ struct sparc_stackf {
61 61
62#ifdef __KERNEL__ 62#ifdef __KERNEL__
63 63
64#define __ARCH_SYS_PTRACE 1
65
66#define user_mode(regs) (!((regs)->psr & PSR_PS)) 64#define user_mode(regs) (!((regs)->psr & PSR_PS))
67#define instruction_pointer(regs) ((regs)->pc) 65#define instruction_pointer(regs) ((regs)->pc)
68unsigned long profile_pc(struct pt_regs *); 66unsigned long profile_pc(struct pt_regs *);
@@ -151,8 +149,6 @@ extern void show_regs(struct pt_regs *);
151#define SF_XXARG 0x5c 149#define SF_XXARG 0x5c
152 150
153/* Stuff for the ptrace system call */ 151/* Stuff for the ptrace system call */
154#define PTRACE_SUNATTACH 10
155#define PTRACE_SUNDETACH 11
156#define PTRACE_GETREGS 12 152#define PTRACE_GETREGS 12
157#define PTRACE_SETREGS 13 153#define PTRACE_SETREGS 13
158#define PTRACE_GETFPREGS 14 154#define PTRACE_GETFPREGS 14
@@ -164,7 +160,4 @@ extern void show_regs(struct pt_regs *);
164#define PTRACE_GETFPAREGS 20 160#define PTRACE_GETFPAREGS 20
165#define PTRACE_SETFPAREGS 21 161#define PTRACE_SETFPAREGS 21
166 162
167#define PTRACE_GETUCODE 29 /* stupid bsd-ism */
168
169
170#endif /* !(_SPARC_PTRACE_H) */ 163#endif /* !(_SPARC_PTRACE_H) */