aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/return_address.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-04-02 16:02:33 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-04-02 16:02:33 +0900
commit5dd6ef5050c5012267e2b84f3d82ba85cdb5ca32 (patch)
tree9bb45df20d84d894a45b6bbbc2b2454727fc3122 /arch/sh/kernel/return_address.c
parentsh: Enable the mmu in start_secondary() (diff)
downloadlinux-dev-5dd6ef5050c5012267e2b84f3d82ba85cdb5ca32.tar.xz
linux-dev-5dd6ef5050c5012267e2b84f3d82ba85cdb5ca32.zip
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/sh/kernel/return_address.c')
-rw-r--r--arch/sh/kernel/return_address.c3
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);