X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sparc%2Fptrace.h;h=714497099a423ae54d35a2d0e6d0985a219d043c;hb=dd07a8db7283f52f347aee468007556944b5b393;hp=a8ecb2d6977aadcb20bd40a652403a2f3f7fde07;hpb=d58dde0f552a5c5c4485b962d8b6e9dd54fefb30;p=linux-2.6 diff --git a/include/asm-sparc/ptrace.h b/include/asm-sparc/ptrace.h index a8ecb2d697..714497099a 100644 --- a/include/asm-sparc/ptrace.h +++ b/include/asm-sparc/ptrace.h @@ -60,6 +60,9 @@ struct sparc_stackf { #define STACKFRAME_SZ sizeof(struct sparc_stackf) #ifdef __KERNEL__ + +#define __ARCH_SYS_PTRACE 1 + #define user_mode(regs) (!((regs)->psr & PSR_PS)) #define instruction_pointer(regs) ((regs)->pc) unsigned long profile_pc(struct pt_regs *);