From: Ingo Molnar Date: Fri, 15 Aug 2008 16:22:09 +0000 (+0200) Subject: ftrace: ftrace_kill_atomic() build fix X-Git-Tag: v2.6.28-rc1~78^2~103 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c5131ad6c3cbe8f6674993e29a76cecf8deb4384;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index ce929cb5543..36c439927ff 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); # define register_ftrace_function(ops) do { } while (0) # define unregister_ftrace_function(ops) do { } while (0) # define clear_ftrace_function(ops) do { } while (0) +static inline void ftrace_kill_atomic(void) { } #endif /* CONFIG_FTRACE */ #ifdef CONFIG_DYNAMIC_FTRACE