Skip to content

Commit

Permalink
sh: export return_address() symbol.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Apr 2, 2010
1 parent 4bea341 commit 5dd6ef5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/sh/kernel/return_address.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* for more details.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <asm/dwarf.h>

#ifdef CONFIG_DWARF_UNWINDER
Expand Down Expand Up @@ -52,3 +53,5 @@ void *return_address(unsigned int depth)
}

#endif

EXPORT_SYMBOL_GPL(return_address);

0 comments on commit 5dd6ef5

Please sign in to comment.