diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-31 09:36:38 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-03 11:03:43 +0100 |
commit | 7e5e26a3d8ac4bcadb380073dc9604c07a9a6198 (patch) | |
tree | 68f6e0ab79358b198ba9cf404d647d2188146292 /arch/sh | |
parent | 7a895f53cda9d9362c30144e42c124a1ae996b9e (diff) | |
download | linux-7e5e26a3d8ac4bcadb380073dc9604c07a9a6198.tar.gz linux-7e5e26a3d8ac4bcadb380073dc9604c07a9a6198.tar.bz2 linux-7e5e26a3d8ac4bcadb380073dc9604c07a9a6198.zip |
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>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/ftrace.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sh/include/asm/ftrace.h b/arch/sh/include/asm/ftrace.h index 31ada0370cb6..3aed362c9463 100644 --- a/arch/sh/include/asm/ftrace.h +++ b/arch/sh/include/asm/ftrace.h @@ -2,11 +2,6 @@ #define __ASM_SH_FTRACE_H #ifndef __ASSEMBLY__ -static inline void ftrace_nmi_enter(void) { } -static inline void ftrace_nmi_exit(void) { } -#endif - -#ifndef __ASSEMBLY__ extern void mcount(void); #endif |