2011-06-07 17:53:47

by Oleg Nesterov

[permalink] [raw]
Subject: [PATCH -mm] ptrace-unify-show_regs-prototype-fix

(to fold into ptrace-unify-show_regs-prototype.patch)

No need to declare show_regs() in ptrace.h, sched.h does this.

Signed-off-by: Oleg Nesterov <[email protected]>
---

include/linux/ptrace.h | 1 -
1 file changed, 1 deletion(-)

--- ptrace/include/linux/ptrace.h~show_regs 2011-06-07 19:44:46.000000000 +0200
+++ ptrace/include/linux/ptrace.h 2011-06-07 19:45:15.000000000 +0200
@@ -100,7 +100,6 @@
#include <linux/sched.h> /* For struct task_struct. */


-extern void show_regs(struct pt_regs *);
extern long arch_ptrace(struct task_struct *child, long request,
unsigned long addr, unsigned long data);
extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);


2011-06-07 20:56:54

by Mike Frysinger

[permalink] [raw]
Subject: Re: [PATCH -mm] ptrace-unify-show_regs-prototype-fix

On Tuesday, June 07, 2011 13:51:42 Oleg Nesterov wrote:
> (to fold into ptrace-unify-show_regs-prototype.patch)
>
> No need to declare show_regs() in ptrace.h, sched.h does this.

thanks for getting to this in spite of my laziness in not doing it sooner
-mike


Attachments:
signature.asc (836.00 B)
This is a digitally signed message part.