aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/i386/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/traps.c b/arch/i386/kernel/traps.c
index e6b5309e70f3..57772a18c394 100644
--- a/arch/i386/kernel/traps.c
+++ b/arch/i386/kernel/traps.c
@@ -152,7 +152,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs,
152 if (!stack) { 152 if (!stack) {
153 unsigned long dummy; 153 unsigned long dummy;
154 stack = &dummy; 154 stack = &dummy;
155 if (task && task != current) 155 if (task != current)
156 stack = (unsigned long *)task->thread.esp; 156 stack = (unsigned long *)task->thread.esp;
157 } 157 }
158 158