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

Ingo Molnar
2008-11-03T10:04:46Z

* Steven Rostedt <rostedt@goodmis.org> 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@redhat.com>
> ---
> 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