public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@redhat.com>
To: akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, vapier@gentoo.org, tj@kernel.org
Subject: [PATCH -mm] ptrace-unify-show_regs-prototype-fix
Date: Tue, 7 Jun 2011 19:51:42 +0200	[thread overview]
Message-ID: <20110607175142.GA29525@redhat.com> (raw)
In-Reply-To: <201106062124.p56LO6Hn023286@imap1.linux-foundation.org>

(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@redhat.com>
---

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


       reply	other threads:[~2011-06-07 17:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201106062124.p56LO6Hn023286@imap1.linux-foundation.org>
2011-06-07 17:51 ` Oleg Nesterov [this message]
2011-06-07 20:56   ` [PATCH -mm] ptrace-unify-show_regs-prototype-fix Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110607175142.GA29525@redhat.com \
    --to=oleg@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox