projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f361e
)
sh: Export unwind_stack() to satisfy modular oprofile.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 21 Aug 2009 18:43:15 +0000
(
03:43
+0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 21 Aug 2009 18:43:15 +0000
(
03:43
+0900)
If the oprofile code is built as a module, unwind_stack() as used by the
oprofile backtrace code is not available, causing build breakage.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/unwinder.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/unwinder.c
b/arch/sh/kernel/unwinder.c
index
2b30fa2
..
5f56ff3
100644
(file)
--- a/
arch/sh/kernel/unwinder.c
+++ b/
arch/sh/kernel/unwinder.c
@@
-11,6
+11,7
@@
#include <linux/errno.h>
#include <linux/list.h>
#include <linux/spinlock.h>
+#include <linux/module.h>
#include <asm/unwinder.h>
#include <asm/atomic.h>
@@
-160,3
+161,4
@@
void unwind_stack(struct task_struct *task, struct pt_regs *regs,
atomic_dec(&unwinder_running);
}
+EXPORT_SYMBOL_GPL(unwind_stack);