diff options
Diffstat (limited to 'arch/s390/kernel/stacktrace.c')
-rw-r--r-- | arch/s390/kernel/stacktrace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/kernel/stacktrace.c b/arch/s390/kernel/stacktrace.c index 85e46a5d0e08..8841919ef7e6 100644 --- a/arch/s390/kernel/stacktrace.c +++ b/arch/s390/kernel/stacktrace.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include <linux/sched.h> | 10 | #include <linux/sched.h> |
11 | #include <linux/stacktrace.h> | 11 | #include <linux/stacktrace.h> |
12 | #include <linux/kallsyms.h> | 12 | #include <linux/kallsyms.h> |
13 | #include <linux/module.h> | ||
13 | 14 | ||
14 | static unsigned long save_context_stack(struct stack_trace *trace, | 15 | static unsigned long save_context_stack(struct stack_trace *trace, |
15 | unsigned long sp, | 16 | unsigned long sp, |
@@ -81,6 +82,7 @@ void save_stack_trace(struct stack_trace *trace) | |||
81 | S390_lowcore.thread_info, | 82 | S390_lowcore.thread_info, |
82 | S390_lowcore.thread_info + THREAD_SIZE, 1); | 83 | S390_lowcore.thread_info + THREAD_SIZE, 1); |
83 | } | 84 | } |
85 | EXPORT_SYMBOL_GPL(save_stack_trace); | ||
84 | 86 | ||
85 | void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) | 87 | void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) |
86 | { | 88 | { |
@@ -93,3 +95,4 @@ void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) | |||
93 | if (trace->nr_entries < trace->max_entries) | 95 | if (trace->nr_entries < trace->max_entries) |
94 | trace->entries[trace->nr_entries++] = ULONG_MAX; | 96 | trace->entries[trace->nr_entries++] = ULONG_MAX; |
95 | } | 97 | } |
98 | EXPORT_SYMBOL_GPL(save_stack_trace_tsk); | ||