aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-15 11:48:02 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-14 04:35:29 -0400
commit7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0 (patch)
treea8873d531424a53b7c5f3a7cd4e280c50ca2e2a8 /include
parent3f5a54e371ca20b119b73704f6c01b71295c1714 (diff)
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);
183static inline void 183static inline void
184ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } 184ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { }
185static inline int 185static inline int
186ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0))) 186ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0)));
187
188static inline int
189ftrace_printk(const char *fmt, ...)
187{ 190{
188 return 0; 191 return 0;
189} 192}