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>
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
* for more details.
|
* for more details.
|
||||||
*/
|
*/
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
|
#include <linux/module.h>
|
||||||
#include <asm/dwarf.h>
|
#include <asm/dwarf.h>
|
||||||
|
|
||||||
#ifdef CONFIG_DWARF_UNWINDER
|
#ifdef CONFIG_DWARF_UNWINDER
|
||||||
@@ -52,3 +53,5 @@ void *return_address(unsigned int depth)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
EXPORT_SYMBOL_GPL(return_address);
|
||||||
|
Reference in New Issue
Block a user