ftrace: Fix warning when CONFIG_FUNCTION_TRACER is not defined
authorSteven Rostedt <srostedt@redhat.com>
Mon, 11 Jul 2011 14:12:59 +0000 (10:12 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 11 Jul 2011 14:12:59 +0000 (10:12 -0400)
commit04da85b86188f224cc9b391b5bdd92a3ba20ffcf
tree538b02f08786e2d598458112ca97cbe4a2a7b3f3
parent43dd61c9a09bd413e837df829e6bfb42159be52a
ftrace: Fix warning when CONFIG_FUNCTION_TRACER is not defined

The struct ftrace_hash was declared within CONFIG_FUNCTION_TRACER
but was referenced outside of it.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h