lkml.org 
[lkml]   [2008]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ftrace: fix hardirq header for non ftrace archs

* 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


\
 
 \ /
  Last update: 2008-11-03 11:07    [W:0.048 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site