X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fptrace.h;h=13fccc5a41197e96f1e1f8e4163df90583d2b0b9;hb=f589b86d4b6e067b720a253bdb40896857804037;hp=53d24584e9680b844d86c27fd92b24a1f5e7cb27;hpb=e17666ba48f78ff10162d7448e7c92d668d8faf6;p=linux-2.6 diff --git a/include/asm-powerpc/ptrace.h b/include/asm-powerpc/ptrace.h index 53d24584e9..13fccc5a41 100644 --- a/include/asm-powerpc/ptrace.h +++ b/include/asm-powerpc/ptrace.h @@ -92,6 +92,11 @@ extern unsigned long profile_pc(struct pt_regs *regs); set_thread_flag(TIF_NOERROR); \ } while(0) +struct task_struct; +extern unsigned long ptrace_get_reg(struct task_struct *task, int regno); +extern int ptrace_put_reg(struct task_struct *task, int regno, + unsigned long data); + /* * We use the least-significant bit of the trap field to indicate * whether we have saved the full set of registers, or only a