summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-15 17:48:02 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-14 10:35:29 +0200
commit7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0 (patch)
treea8873d531424a53b7c5f3a7cd4e280c50ca2e2a8 /include
parent3f5a54e371ca20b119b73704f6c01b71295c1714 (diff)
downloadlinux-7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0.tar.gz
linux-7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0.tar.bz2
linux-7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0.zip
ftrace: build fix
fix: In file included from init/main.c:65: include/linux/ftrace.h:166: error: expected ‘,' or ‘;' before ‘{' token make[1]: *** [init/main.o] Error 1 make: *** [init/main.o] Error 2 Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ftrace.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index f7fb92045bf0..ce929cb55435 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -183,7 +183,10 @@ extern void ftrace_dump(void);
static inline void
ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { }
static inline int
-ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0)))
+ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0)));
+
+static inline int
+ftrace_printk(const char *fmt, ...)
{
return 0;
}