ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Fri, 12 Apr 2013 20:40:13 +0000 (16:40 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Jun 2013 01:16:47 +0000 (02:16 +0100)
commit57321c3df5c8c3f1a485db064282eefb06504ead
treed2f12e0260f1f675f85f133e8528c5bbd18729b9
parentd1e52f9d3ae27fcc72a4da98f1ccbe56e30d8358
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.

Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
[bwh: Backported to 3.2:
 - ftrace_filter_lseek() is static and not declared in ftrace.h
 - 'whence' parameter was called 'origin']
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
kernel/trace/ftrace.c