Commit f78b7ef3 authored by Russell King's avatar Russell King

[ARM] Make oops dump reasonble again without kallsyms support enabled.

print_symbol() becomes a NOP when CONFIG_KALLSYMS=n, so we loose
the new line character as well.  Explicitly call printk("\n").
parent 649a49db
...@@ -53,7 +53,8 @@ static const char *handler[]= { "prefetch abort", "data abort", "address excepti ...@@ -53,7 +53,8 @@ static const char *handler[]= { "prefetch abort", "data abort", "address excepti
void dump_backtrace_entry(unsigned long where, unsigned long from) void dump_backtrace_entry(unsigned long where, unsigned long from)
{ {
printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from); printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from);
print_symbol(" %s\n", where); print_symbol(" %s", where);
printk("\n");
} }
/* /*
......
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