diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-03 07:17:55 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-03 07:17:55 (GMT) |
commit | 7b4c9505f2fd82b117dd015b561f723b9a5dab79 (patch) | |
tree | 61a9f3e32119bc7239feed026634eacf77fecd47 /arch/s390 | |
parent | 8594698ebddeef5443b7da8258ae33b3eaca61d5 (diff) | |
download | linux-fsl-qoriq-7b4c9505f2fd82b117dd015b561f723b9a5dab79.tar.xz |
stacktrace: export save_stack_trace[_tsk]
Andrew Morton reported this against linux-next:
ERROR: ".save_stack_trace" [tests/backtracetest.ko] undefined!
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/stacktrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/stacktrace.c b/arch/s390/kernel/stacktrace.c index 85e46a5..57571f1 100644 --- a/arch/s390/kernel/stacktrace.c +++ b/arch/s390/kernel/stacktrace.c @@ -81,6 +81,7 @@ void save_stack_trace(struct stack_trace *trace) S390_lowcore.thread_info, S390_lowcore.thread_info + THREAD_SIZE, 1); } +EXPORT_SYMBOL_GPL(save_stack_trace); void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) { @@ -93,3 +94,4 @@ void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) if (trace->nr_entries < trace->max_entries) trace->entries[trace->nr_entries++] = ULONG_MAX; } +EXPORT_SYMBOL_GPL(save_stack_trace_tsk); |