2007-05-15 19:38:53

by Al Viro

[permalink] [raw]
Subject: [PATCH] arm: walk_stacktrace() needs to be exported


oprofile depends on having it

Signed-off-by: Al Viro <[email protected]>
---
arch/arm/kernel/stacktrace.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/kernel/stacktrace.c b/arch/arm/kernel/stacktrace.c
index 398d0c0..8b63ad8 100644
--- a/arch/arm/kernel/stacktrace.c
+++ b/arch/arm/kernel/stacktrace.c
@@ -1,3 +1,4 @@
+#include <linux/module.h>
#include <linux/sched.h>
#include <linux/stacktrace.h>

@@ -30,6 +31,7 @@ int walk_stackframe(unsigned long fp, unsigned long low, unsigned long high,

return 0;
}
+EXPORT_SYMBOL(walk_stackframe);

#ifdef CONFIG_STACKTRACE
struct stack_trace_data {
--
1.5.0-rc2.GIT