aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-07-15 10:31:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-15 10:31:35 -0700
commitaf5329cdf51cdd208a323e521faa46800a16d2ec (patch)
tree33eac56aac120778dc04207290ad539765ff5eb6 /arch/sparc64
parent1dc60c53d36b08f361e1a2767c41196acce96d08 (diff)
parent7798ed0f57b4d137e660fbf5be1e1528e40f89ac (diff)
downloadkernel_samsung_espresso10-af5329cdf51cdd208a323e521faa46800a16d2ec.zip
kernel_samsung_espresso10-af5329cdf51cdd208a323e521faa46800a16d2ec.tar.gz
kernel_samsung_espresso10-af5329cdf51cdd208a323e521faa46800a16d2ec.tar.bz2
Merge branch 'core/stacktrace' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core/stacktrace' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: generic-ipi: powerpc/generic-ipi tree build failure stacktrace: fix build failure on sparc64 stacktrace: export save_stack_trace[_tsk] stacktrace: fix modular build, export print_stack_trace and save_stack_trace backtrace: replace timer with tasklet + completions stacktrace: add saved stack traces to backtrace self-test stacktrace: print_stack_trace() cleanup debugging: make stacktrace independent from DEBUG_KERNEL stacktrace: don't crash on invalid stack trace structs
Diffstat (limited to 'arch/sparc64')
-rw-r--r--arch/sparc64/kernel/stacktrace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/stacktrace.c b/arch/sparc64/kernel/stacktrace.c
index c73ce3f..b3e3737 100644
--- a/arch/sparc64/kernel/stacktrace.c
+++ b/arch/sparc64/kernel/stacktrace.c
@@ -1,6 +1,7 @@
#include <linux/sched.h>
#include <linux/stacktrace.h>
#include <linux/thread_info.h>
+#include <linux/module.h>
#include <asm/ptrace.h>
#include <asm/stacktrace.h>
@@ -47,3 +48,4 @@ void save_stack_trace(struct stack_trace *trace)
trace->entries[trace->nr_entries++] = pc;
} while (trace->nr_entries < trace->max_entries);
}
+EXPORT_SYMBOL_GPL(save_stack_trace);