diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-11 17:04:34 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-08 05:47:15 +0200 |
commit | 784d5699eddc55878627da20d3fe0c8542e2f1a2 (patch) | |
tree | c7fac7583c9730fb0c0e73ea905a97a487ec34bf /arch/x86/kernel/mcount_64.S | |
parent | EXPORT_SYMBOL() for asm (diff) | |
download | linux-784d5699eddc55878627da20d3fe0c8542e2f1a2.tar.xz linux-784d5699eddc55878627da20d3fe0c8542e2f1a2.zip |
x86: move exports to actual definitions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/kernel/mcount_64.S')
-rw-r--r-- | arch/x86/kernel/mcount_64.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/mcount_64.S b/arch/x86/kernel/mcount_64.S index 61924222a9e1..efe73aacf966 100644 --- a/arch/x86/kernel/mcount_64.S +++ b/arch/x86/kernel/mcount_64.S @@ -7,6 +7,7 @@ #include <linux/linkage.h> #include <asm/ptrace.h> #include <asm/ftrace.h> +#include <asm/export.h> .code64 @@ -294,6 +295,7 @@ trace: jmp fgraph_trace END(function_hook) #endif /* CONFIG_DYNAMIC_FTRACE */ +EXPORT_SYMBOL(function_hook) #endif /* CONFIG_FUNCTION_TRACER */ #ifdef CONFIG_FUNCTION_GRAPH_TRACER |