aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/traps.c')
-rw-r--r--arch/i386/kernel/traps.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/i386/kernel/traps.c b/arch/i386/kernel/traps.c
index a807a2da581d..1b7ad4115d81 100644
--- a/arch/i386/kernel/traps.c
+++ b/arch/i386/kernel/traps.c
@@ -217,19 +217,17 @@ static void show_stack_log_lvl(struct task_struct *task, unsigned long *esp,
217 for(i = 0; i < kstack_depth_to_print; i++) { 217 for(i = 0; i < kstack_depth_to_print; i++) {
218 if (kstack_end(stack)) 218 if (kstack_end(stack))
219 break; 219 break;
220 if (i && ((i % 8) == 0)) { 220 if (i && ((i % 8) == 0))
221 printk("\n"); 221 printk("\n%s ", log_lvl);
222 printk("%s ", log_lvl);
223 }
224 printk("%08lx ", *stack++); 222 printk("%08lx ", *stack++);
225 } 223 }
226 printk("\n"); 224 printk("\n%sCall Trace:\n", log_lvl);
227 printk("%sCall Trace:\n", log_lvl);
228 show_trace_log_lvl(task, esp, log_lvl); 225 show_trace_log_lvl(task, esp, log_lvl);
229} 226}
230 227
231void show_stack(struct task_struct *task, unsigned long *esp) 228void show_stack(struct task_struct *task, unsigned long *esp)
232{ 229{
230 printk(" ");
233 show_stack_log_lvl(task, esp, ""); 231 show_stack_log_lvl(task, esp, "");
234} 232}
235 233