aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-15 12:22:09 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-14 04:35:33 -0400
commitc5131ad6c3cbe8f6674993e29a76cecf8deb4384 (patch)
treece9f9cd79cd987295d0cbcbb3cf99ada9b29fc1a /include
parent7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0 (diff)
ftrace: ftrace_kill_atomic() build fix
fix: kernel/built-in.o: In function `ftrace_dump': (.text+0x2e2ea): undefined reference to `ftrace_kill_atomic' Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ftrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index ce929cb55435..36c439927ff1 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -36,6 +36,7 @@ extern void ftrace_stub(unsigned long a0, unsigned long a1);
36# define register_ftrace_function(ops) do { } while (0) 36# define register_ftrace_function(ops) do { } while (0)
37# define unregister_ftrace_function(ops) do { } while (0) 37# define unregister_ftrace_function(ops) do { } while (0)
38# define clear_ftrace_function(ops) do { } while (0) 38# define clear_ftrace_function(ops) do { } while (0)
39static inline void ftrace_kill_atomic(void) { }
39#endif /* CONFIG_FTRACE */ 40#endif /* CONFIG_FTRACE */
40 41
41#ifdef CONFIG_DYNAMIC_FTRACE 42#ifdef CONFIG_DYNAMIC_FTRACE