From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Sat, 16 Apr 2011 19:17:57 +0000 Subject: Re: [Kgdb-bugreport] [PATCH 4/5] sh: convert to asm-generic ptrace.h Message-Id: <20110416191757.GA11609@linux-sh.org> List-Id: References: <1302760895-13459-1-git-send-email-vapier@gentoo.org> <1302760895-13459-5-git-send-email-vapier@gentoo.org> <4DA70319.8000902@mvista.com> In-Reply-To: <4DA70319.8000902@mvista.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Sergei Shtylyov Cc: Mike Frysinger , Roland McGrath , Oleg Nesterov , linux-kernel@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, Jason Wessel , Andrew Morton , linux-sh@vger.kernel.org, x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar On Thu, Apr 14, 2011 at 06:22:17PM +0400, Sergei Shtylyov wrote: > Mike Frysinger wrote: > > >Signed-off-by: Mike Frysinger > >--- > > arch/sh/include/asm/ptrace.h | 6 ++++-- > > 1 files changed, 4 insertions(+), 2 deletions(-) > > >diff --git a/arch/sh/include/asm/ptrace.h b/arch/sh/include/asm/ptrace.h > >index b219a08..3f2a6e7 100644 > >--- a/arch/sh/include/asm/ptrace.h > >+++ b/arch/sh/include/asm/ptrace.h > [...] > >@@ -137,6 +136,9 @@ static inline unsigned long profile_pc(struct pt_regs > >*regs) > > > > return pc; > > } > >+#define profile_pc profile_pc > > Same question about preprocessor... > Same response. There are many places in the kernel where this convention is used, and for a good reason. Grep harder.