Commit 5dd6ef50 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: export return_address() symbol.



This is needed with some of the tracing code built as modules, so provide
the export.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 4bea3418
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);