diff options
| -rw-r--r-- | arch/x86/kernel/dumpstack_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/dumpstack_32.c b/arch/x86/kernel/dumpstack_32.c index f2a1770ca176..a21d49c071db 100644 --- a/arch/x86/kernel/dumpstack_32.c +++ b/arch/x86/kernel/dumpstack_32.c | |||
| @@ -30,7 +30,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs, | |||
| 30 | unsigned long dummy; | 30 | unsigned long dummy; |
| 31 | 31 | ||
| 32 | stack = &dummy; | 32 | stack = &dummy; |
| 33 | if (task && task != current) | 33 | if (task != current) |
| 34 | stack = (unsigned long *)task->thread.sp; | 34 | stack = (unsigned long *)task->thread.sp; |
| 35 | } | 35 | } |
| 36 | 36 | ||
