|
@@ -79,6 +79,8 @@ void save_stack_trace(struct stack_trace *trace)
|
|
|
save_context_stack(trace, new_sp,
|
|
|
S390_lowcore.thread_info,
|
|
|
S390_lowcore.thread_info + THREAD_SIZE, 1);
|
|
|
+ if (trace->nr_entries < trace->max_entries)
|
|
|
+ trace->entries[trace->nr_entries++] = ULONG_MAX;
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(save_stack_trace);
|
|
|
|