提交 5dd6ef50 编写于 作者: P Paul Mundt

sh: export return_address() symbol.

This is needed with some of the tracing code built as modules, so provide
the export.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 4bea3418
......@@ -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);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册