diff options
| -rw-r--r-- | arch/x86/kernel/dumpstack_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/dumpstack_64.c b/arch/x86/kernel/dumpstack_64.c index 64101335de1..a6b6fcf7f0a 100644 --- a/arch/x86/kernel/dumpstack_64.c +++ b/arch/x86/kernel/dumpstack_64.c | |||
| @@ -149,13 +149,13 @@ void dump_trace(struct task_struct *task, | |||
| 149 | unsigned used = 0; | 149 | unsigned used = 0; |
| 150 | struct thread_info *tinfo; | 150 | struct thread_info *tinfo; |
| 151 | int graph = 0; | 151 | int graph = 0; |
| 152 | unsigned long dummy; | ||
| 152 | unsigned long bp; | 153 | unsigned long bp; |
| 153 | 154 | ||
| 154 | if (!task) | 155 | if (!task) |
| 155 | task = current; | 156 | task = current; |
| 156 | 157 | ||
| 157 | if (!stack) { | 158 | if (!stack) { |
| 158 | unsigned long dummy; | ||
| 159 | stack = &dummy; | 159 | stack = &dummy; |
| 160 | if (task && task != current) | 160 | if (task && task != current) |
| 161 | stack = (unsigned long *)task->thread.sp; | 161 | stack = (unsigned long *)task->thread.sp; |
