diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-08-15 17:48:02 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 10:35:29 +0200 |
commit | 7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0 (patch) | |
tree | a8873d531424a53b7c5f3a7cd4e280c50ca2e2a8 /include | |
parent | 3f5a54e371ca20b119b73704f6c01b71295c1714 (diff) | |
download | op-kernel-dev-7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0.zip op-kernel-dev-7b928c23fa3e9fa37d1d4ba52ba963f41ee5aae0.tar.gz |
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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index f7fb920..ce929cb 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; } |