Re: [Kgdb-bugreport] [PATCH 3/5] x86: convert to asm-generic ptrace.h

From: H. Peter Anvin
Date: Thu Apr 14 2011 - 13:07:54 EST

On 04/14/2011 07:16 AM, Sergei Shtylyov wrote:

Mike Frysinger wrote:

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
arch/x86/include/asm/ptrace.h | 18 +++++-------------
1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/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@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at