diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-04-02 16:02:33 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-04-02 16:02:33 +0900 |
commit | 5dd6ef5050c5012267e2b84f3d82ba85cdb5ca32 (patch) | |
tree | 9bb45df20d84d894a45b6bbbc2b2454727fc3122 /arch | |
parent | 4bea3418c737891894b9d3d3e9f8bbd67d66fa38 (diff) | |
download | linux-5dd6ef5050c5012267e2b84f3d82ba85cdb5ca32.tar.bz2 |
sh: export return_address() symbol.
This is needed with some of the tracing code built as modules, so provide
the export.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/return_address.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/kernel/return_address.c b/arch/sh/kernel/return_address.c index df3ab5811074..cbf1dd5372b2 100644 --- a/arch/sh/kernel/return_address.c +++ b/arch/sh/kernel/return_address.c @@ -9,6 +9,7 @@ * for more details. */ #include <linux/kernel.h> +#include <linux/module.h> #include <asm/dwarf.h> #ifdef CONFIG_DWARF_UNWINDER @@ -52,3 +53,5 @@ void *return_address(unsigned int depth) } #endif + +EXPORT_SYMBOL_GPL(return_address); |