summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-03-24 22:04:01 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-04-14 15:47:05 +1000
commit04cf31a759ef575f750a63777cee95500e410994 (patch)
treeee5dbbf8b9ac93c0b0e28a21b59db58cd4b19bcf /include
parent8c50b72a3b4f1f7cdfdfebd233b1cbd121262e65 (diff)
downloadtalos-obmc-linux-04cf31a759ef575f750a63777cee95500e410994.tar.gz
talos-obmc-linux-04cf31a759ef575f750a63777cee95500e410994.zip
ftrace: Make ftrace_location_range() global
In order to support live patching on powerpc we would like to call ftrace_location_range(), so make it global. Signed-off-by: Torsten Duwe <duwe@suse.de> Signed-off-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ftrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 81de7123959d..3481a8e405f9 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -455,6 +455,7 @@ int ftrace_update_record(struct dyn_ftrace *rec, int enable);
int ftrace_test_record(struct dyn_ftrace *rec, int enable);
void ftrace_run_stop_machine(int command);
unsigned long ftrace_location(unsigned long ip);
+unsigned long ftrace_location_range(unsigned long start, unsigned long end);
unsigned long ftrace_get_addr_new(struct dyn_ftrace *rec);
unsigned long ftrace_get_addr_curr(struct dyn_ftrace *rec);
OpenPOWER on IntegriCloud