diff options
Diffstat (limited to 'arch/x86/kernel/dumpstack_32.c')
-rw-r--r-- | arch/x86/kernel/dumpstack_32.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/dumpstack_32.c b/arch/x86/kernel/dumpstack_32.c index ae775ca47b25..04078f1896e6 100644 --- a/arch/x86/kernel/dumpstack_32.c +++ b/arch/x86/kernel/dumpstack_32.c | |||
@@ -98,6 +98,12 @@ show_stack_log_lvl(struct task_struct *task, struct pt_regs *regs, | |||
98 | } | 98 | } |
99 | 99 | ||
100 | 100 | ||
101 | #if defined(CONFIG_DEBUG_STACKOVERFLOW) && defined(CONFIG_EVENT_TRACE) | ||
102 | extern unsigned long worst_stack_left; | ||
103 | #else | ||
104 | # define worst_stack_left -1L | ||
105 | #endif | ||
106 | |||
101 | void show_registers(struct pt_regs *regs) | 107 | void show_registers(struct pt_regs *regs) |
102 | { | 108 | { |
103 | int i; | 109 | int i; |