diff options
Diffstat (limited to 'arch/x86_64/kernel')
-rw-r--r-- | arch/x86_64/kernel/traps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index 4ac18b02eada..28e53342f294 100644 --- a/arch/x86_64/kernel/traps.c +++ b/arch/x86_64/kernel/traps.c | |||
@@ -292,6 +292,8 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs, unsigned long * s | |||
292 | if ((long)UNW_SP(&info) < 0) { | 292 | if ((long)UNW_SP(&info) < 0) { |
293 | ops->warning(data, "Leftover inexact backtrace:\n"); | 293 | ops->warning(data, "Leftover inexact backtrace:\n"); |
294 | stack = (unsigned long *)UNW_SP(&info); | 294 | stack = (unsigned long *)UNW_SP(&info); |
295 | if (!stack) | ||
296 | return; | ||
295 | } else | 297 | } else |
296 | ops->warning(data, "Full inexact backtrace again:\n"); | 298 | ops->warning(data, "Full inexact backtrace again:\n"); |
297 | } else if (call_trace >= 1) | 299 | } else if (call_trace >= 1) |