diff options
author | 2013-01-09 18:09:20 -0500 | |
---|---|---|
committer | 2014-03-11 22:52:43 -0400 | |
commit | d88471cb8b17a72b1edf5ab62e1704d78373c066 (patch) | |
tree | eabaeddad2b3c4c20b053e7e03aa30e50b99c263 /include/linux/ftrace.h | |
parent | tracepoints: API doc update to tracepoint_probe_register() return value (diff) | |
download | linux-d88471cb8b17a72b1edf5ab62e1704d78373c066.tar.gz linux-d88471cb8b17a72b1edf5ab62e1704d78373c066.tar.bz2 linux-d88471cb8b17a72b1edf5ab62e1704d78373c066.zip |
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 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 20da0561b868..9212b017bc72 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -299,7 +299,7 @@ extern void unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops); extern void unregister_ftrace_function_probe_all(char *glob); -extern int ftrace_text_reserved(void *start, void *end); +extern int ftrace_text_reserved(const void *start, const void *end); extern int ftrace_nr_registered_ops(void); @@ -552,7 +552,7 @@ static inline __init int unregister_ftrace_command(char *cmd_name) { return -EINVAL; } -static inline int ftrace_text_reserved(void *start, void *end) +static inline int ftrace_text_reserved(const void *start, const void *end) { return 0; } |