diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-08-15 11:48:02 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:35:29 -0400 |
commit | 7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0 (patch) | |
tree | a8873d531424a53b7c5f3a7cd4e280c50ca2e2a8 | |
parent | 3f5a54e371ca20b119b73704f6c01b71295c1714 (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>
-rw-r--r-- | include/linux/ftrace.h | 5 |
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); | |||
183 | static inline void | 183 | static inline void |
184 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } | 184 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } |
185 | static inline int | 185 | static inline int |
186 | ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0))) | 186 | ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0))); |
187 | |||
188 | static inline int | ||
189 | ftrace_printk(const char *fmt, ...) | ||
187 | { | 190 | { |
188 | return 0; | 191 | return 0; |
189 | } | 192 | } |