summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDhaval Giani <dhaval.giani@gmail.com>2013-08-02 22:47:29 +0400
committerSteven Rostedt <rostedt@goodmis.org>2013-08-03 06:38:10 +0400
commite67bc51e574ffe3c4bc1e09cab7658b1e780b4ce (patch)
tree8a0b6424f72f4292543f7b4b96617b4992598257 /include
parented5467da0e369e65b247b99eb6403cb79172bcda (diff)
downloadlinux-e67bc51e574ffe3c4bc1e09cab7658b1e780b4ce.tar.xz
tracing: Fix trace_dump_stack() proto when CONFIG_TRACING is not set
When CONFIG_TRACING is not enabled, the stub prototype for trace_dump_stack() is incorrect. It has (void) when it should be (int). Link: http://lkml.kernel.org/r/CAPhKKr_H=ukFnBL4WgDOVT5ay2xeF-Ho+CA0DWZX0E2JW-=vSQ@mail.gmail.com Signed-off-by: Dhaval Giani <dhaval.giani@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 3bef14c6586b..482ad2d84a32 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -629,7 +629,7 @@ extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode);
static inline void tracing_start(void) { }
static inline void tracing_stop(void) { }
static inline void ftrace_off_permanent(void) { }
-static inline void trace_dump_stack(void) { }
+static inline void trace_dump_stack(int skip) { }
static inline void tracing_on(void) { }
static inline void tracing_off(void) { }