Commit 8f59c4e0 authored by Vikram Narayanan's avatar Vikram Narayanan

lcd_trace: Guard dumpstack

parent b05f39bf
......@@ -331,7 +331,9 @@ void show_regs(struct pt_regs *regs)
show_stack_log_lvl(NULL, regs, (unsigned long *)sp,
0, KERN_DEFAULT);
#ifdef CONFIG_LCD_TRACE_BUFFER
dump_ring_trace_buffer();
#endif
printk(KERN_DEFAULT "Code: ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment