ftrace: fix hardirq header for non ftrace archs
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 31 Oct 2008 13:36:38 +0000 (09:36 -0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 3 Nov 2008 10:03:43 +0000 (11:03 +0100)
commit7e5e26a3d8ac4bcadb380073dc9604c07a9a6198
tree68f6e0ab79358b198ba9cf404d647d2188146292
parent7a895f53cda9d9362c30144e42c124a1ae996b9e
ftrace: fix hardirq header for non ftrace archs

Impact: build fix for non-ftrace architectures

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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/arm/include/asm/ftrace.h
arch/powerpc/include/asm/ftrace.h
arch/sh/include/asm/ftrace.h
arch/sparc/include/asm/ftrace.h
arch/x86/include/asm/ftrace.h
include/linux/ftrace.h
include/linux/hardirq.h