ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 7 Jun 2013 09:02:08 +0000 (17:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2013 16:45:03 +0000 (09:45 -0700)
commitbc4d36c41f16a66c320fd0282110ddc82aa1eb09
tree4d15ef32790902916c0b92b33b299dfeb2834b5d
parent3a22cc7f184b77731816e55662cd12f0c3d24d56
ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section

commit 7f49ef69db6bbf756c0abca7e9b65b32e999eec8 upstream.

As ftrace_filter_lseek is now used with ftrace_pid_fops, it needs to
be moved out of the #ifdef CONFIG_DYNAMIC_FTRACE section as the
ftrace_pid_fops is defined when DYNAMIC_FTRACE is not.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Namhyung Kim <namhyung@kernel.org>
[ lizf: adjust context ]
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/ftrace.h
kernel/trace/ftrace.c