summaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2013-01-09 18:09:20 -0500
committerSteven Rostedt <rostedt@goodmis.org>2014-03-11 22:52:43 -0400
commitd88471cb8b17a72b1edf5ab62e1704d78373c066 (patch)
treeeabaeddad2b3c4c20b053e7e03aa30e50b99c263 /kernel/trace/ftrace.c
parent3bbc8db341773eb6aa5576eaabca4e95170fbe34 (diff)
downloadop-kernel-dev-d88471cb8b17a72b1edf5ab62e1704d78373c066.zip
op-kernel-dev-d88471cb8b17a72b1edf5ab62e1704d78373c066.tar.gz
ftrace: Constify ftrace_text_reserved
Link: http://lkml.kernel.org/r/1357772960-4436-5-git-send-email-sasha.levin@oracle.com Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r--kernel/trace/ftrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index b4531b2..1fd4b94 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -1555,7 +1555,7 @@ unsigned long ftrace_location(unsigned long ip)
* the function tracer. It checks the ftrace internal tables to
* determine if the address belongs or not.
*/
-int ftrace_text_reserved(void *start, void *end)
+int ftrace_text_reserved(const void *start, const void *end)
{
unsigned long ret;
OpenPOWER on IntegriCloud