Re: [PATCH] ftrace: fix hardirq header for non ftrace archs

From: Ingo Molnar
Date: Mon Nov 03 2008 - 05:04:47 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

>
> Not all archs implement ftrace, and therefore do not have an asm/ftrace.h.
> This patch corrects the problem.
>
> The ftrace_nmi_enter/exit now must be defined for all archs that implement
> dynamic ftrace. Currently, only x86 does.
>
> Signed-off-by: Steven Rostedt <srostedt@xxxxxxxxxx>
> ---
> arch/arm/include/asm/ftrace.h | 5 -----
> arch/powerpc/include/asm/ftrace.h | 5 -----
> arch/sh/include/asm/ftrace.h | 5 -----
> arch/sparc/include/asm/ftrace.h | 5 -----
> arch/x86/include/asm/ftrace.h | 16 ----------------
> include/linux/ftrace.h | 5 ++++-
> include/linux/hardirq.h | 2 +-
> 7 files changed, 5 insertions(+), 38 deletions(-)

applied to tip/tracing/nmisafe, thanks Steve!

Ingo
--
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/