OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5467d
)
tracing: Fix trace_dump_stack() proto when CONFIG_TRACING is not set
author
Dhaval Giani
<dhaval.giani@gmail.com>
Fri, 2 Aug 2013 18:47:29 +0000
(14:47 -0400)
committer
Steven Rostedt
<rostedt@goodmis.org>
Sat, 3 Aug 2013 02:38:10 +0000
(22:38 -0400)
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>
include/linux/kernel.h
patch
|
blob
|
history
diff --git
a/include/linux/kernel.h
b/include/linux/kernel.h
index
3bef14c
..
482ad2d
100644
(file)
--- 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) { }