diff options
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index dd9900cabf89..d97ed5897447 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -527,9 +527,6 @@ __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap); | |||
527 | 527 | ||
528 | extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode); | 528 | extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode); |
529 | #else | 529 | #else |
530 | static inline __printf(1, 2) | ||
531 | int trace_printk(const char *fmt, ...); | ||
532 | |||
533 | static inline void tracing_start(void) { } | 530 | static inline void tracing_start(void) { } |
534 | static inline void tracing_stop(void) { } | 531 | static inline void tracing_stop(void) { } |
535 | static inline void ftrace_off_permanent(void) { } | 532 | static inline void ftrace_off_permanent(void) { } |
@@ -539,8 +536,8 @@ static inline void tracing_on(void) { } | |||
539 | static inline void tracing_off(void) { } | 536 | static inline void tracing_off(void) { } |
540 | static inline int tracing_is_on(void) { return 0; } | 537 | static inline int tracing_is_on(void) { return 0; } |
541 | 538 | ||
542 | static inline int | 539 | static inline __printf(1, 2) |
543 | trace_printk(const char *fmt, ...) | 540 | int trace_printk(const char *fmt, ...) |
544 | { | 541 | { |
545 | return 0; | 542 | return 0; |
546 | } | 543 | } |