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

From: Paul Mundt
Date: Sat Apr 16 2011 - 15:19:19 EST


On Thu, Apr 14, 2011 at 06:22:17PM +0400, Sergei Shtylyov wrote:
> Mike Frysinger wrote:
>
> >Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
> >---
> > 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.
--
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/