[PATCH -mm] ptrace-unify-show_regs-prototype-fix

From: Oleg Nesterov
Date: Tue Jun 07 2011 - 13:53:51 EST


(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 <oleg@xxxxxxxxxx>
---

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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/