Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758861Ab1DNOSn (ORCPT ); Thu, 14 Apr 2011 10:18:43 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:35578 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757612Ab1DNOSl (ORCPT ); Thu, 14 Apr 2011 10:18:41 -0400 Message-ID: <4DA701D5.5050205@mvista.com> Date: Thu, 14 Apr 2011 18:16:53 +0400 From: Sergei Shtylyov User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Mike Frysinger CC: 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, Paul Mundt , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar Subject: Re: [Kgdb-bugreport] [PATCH 3/5] x86: convert to asm-generic ptrace.h References: <1302760895-13459-1-git-send-email-vapier@gentoo.org> <1302760895-13459-4-git-send-email-vapier@gentoo.org> In-Reply-To: <1302760895-13459-4-git-send-email-vapier@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 874 Lines: 28 Hello. Mike Frysinger wrote: > Signed-off-by: Mike Frysinger > --- > arch/x86/include/asm/ptrace.h | 18 +++++------------- > 1 files changed, 5 insertions(+), 13 deletions(-) > diff --git a/arch/x86/include/asm/ptrace.h b/arch/x86/include/asm/ptrace.h > index 78cd1ea..98a5e97 100644 > --- a/arch/x86/include/asm/ptrace.h > +++ b/arch/x86/include/asm/ptrace.h > @@ -136,6 +136,7 @@ struct cpuinfo_x86; > struct task_struct; > > extern unsigned long profile_pc(struct pt_regs *regs); > +#define profile_pc profile_pc Er, won't this lead to infinite recursion in preprocessor? :-) WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/