]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/ptrace.h
mmc: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / include / asm-sparc / ptrace.h
index a8ecb2d6977aadcb20bd40a652403a2f3f7fde07..8201a7b29d49bdc7052793b4ccac9b75fb5b8b73 100644 (file)
@@ -60,6 +60,7 @@ struct sparc_stackf {
 #define STACKFRAME_SZ sizeof(struct sparc_stackf)
 
 #ifdef __KERNEL__
+
 #define user_mode(regs) (!((regs)->psr & PSR_PS))
 #define instruction_pointer(regs) ((regs)->pc)
 unsigned long profile_pc(struct pt_regs *);
@@ -148,8 +149,6 @@ extern void show_regs(struct pt_regs *);
 #define SF_XXARG  0x5c
 
 /* Stuff for the ptrace system call */
-#define PTRACE_SUNATTACH         10
-#define PTRACE_SUNDETACH         11
 #define PTRACE_GETREGS            12
 #define PTRACE_SETREGS            13
 #define PTRACE_GETFPREGS          14
@@ -161,7 +160,4 @@ extern void show_regs(struct pt_regs *);
 #define PTRACE_GETFPAREGS         20
 #define PTRACE_SETFPAREGS         21
 
-#define PTRACE_GETUCODE           29  /* stupid bsd-ism */
-
-
 #endif /* !(_SPARC_PTRACE_H) */