projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bea341
)
sh: export return_address() symbol.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 2 Apr 2010 07:02:33 +0000
(16:02 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 2 Apr 2010 07:02:33 +0000
(16:02 +0900)
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>
arch/sh/kernel/return_address.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/return_address.c
b/arch/sh/kernel/return_address.c
index df3ab5811074f0bfcada56897092f9eeaed937e1..cbf1dd5372b2d223f399ab884fd46bfbd83246d1 100644
(file)
--- 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);