tracing: Fix return of trace_dump_stack()
authorSteven Rostedt <srostedt@redhat.com>
Mon, 14 Dec 2009 20:58:33 +0000 (15:58 -0500)
committerIngo Molnar <mingo@elte.hu>
Tue, 15 Dec 2009 07:36:11 +0000 (08:36 +0100)
commite36c54582c6f14adc9e10473e2aec2cc4f0acc03
tree057c54ccfd431152486fd781070713ad0e34bb01
parent0087aabd6a3744c28114240776918f5d15e46b98
tracing: Fix return of trace_dump_stack()

The trace_dump_stack() returned a value for a void function.

Also, added the missing stub for trace_dump_stack() when tracing is
not configured.

Reported-by: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <20091214162713.GA31060@elte.hu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/kernel.h
kernel/trace/trace.c