ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 7 Jun 2013 09:01:04 +0000 (17:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2013 16:25:13 +0000 (09:25 -0700)
commit103128b4b48010bed60d220d3eb46ceab9c021b5
tree42f56b78a6bdb7a8c708c8857784198762264919
parentc45fe24c84eb35565a252c4fe2dd851cee22cb3e
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>
kernel/trace/ftrace.c