diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/traps.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/i386/kernel/traps.c b/arch/i386/kernel/traps.c index ee61988f61b5..f20797b8da1d 100644 --- a/arch/i386/kernel/traps.c +++ b/arch/i386/kernel/traps.c | |||
@@ -188,8 +188,7 @@ static void show_trace_log_lvl(struct task_struct *task, | |||
188 | stack = (unsigned long*)context->previous_esp; | 188 | stack = (unsigned long*)context->previous_esp; |
189 | if (!stack) | 189 | if (!stack) |
190 | break; | 190 | break; |
191 | printk(log_lvl); | 191 | printk("%s =======================\n", log_lvl); |
192 | printk(" =======================\n"); | ||
193 | } | 192 | } |
194 | } | 193 | } |
195 | 194 | ||
@@ -218,14 +217,12 @@ static void show_stack_log_lvl(struct task_struct *task, unsigned long *esp, | |||
218 | break; | 217 | break; |
219 | if (i && ((i % 8) == 0)) { | 218 | if (i && ((i % 8) == 0)) { |
220 | printk("\n"); | 219 | printk("\n"); |
221 | printk(log_lvl); | 220 | printk("%s ", log_lvl); |
222 | printk(" "); | ||
223 | } | 221 | } |
224 | printk("%08lx ", *stack++); | 222 | printk("%08lx ", *stack++); |
225 | } | 223 | } |
226 | printk("\n"); | 224 | printk("\n"); |
227 | printk(log_lvl); | 225 | printk("%sCall Trace:\n", log_lvl); |
228 | printk("Call Trace:\n"); | ||
229 | show_trace_log_lvl(task, esp, log_lvl); | 226 | show_trace_log_lvl(task, esp, log_lvl); |
230 | } | 227 | } |
231 | 228 | ||