diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-20 15:34:10 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-12-29 12:32:30 +0000 |
commit | ef41b5c924984b34d9c2830185295b2a9ae78e13 (patch) | |
tree | cfe11581fe72e538435c3a6a88e38c18d6b69a28 /arch/arm/kernel/traps.c | |
parent | 92341c83a904a23f9af52598cd97a8438b99eb00 (diff) | |
download | linux-ef41b5c924984b34d9c2830185295b2a9ae78e13.tar.gz linux-ef41b5c924984b34d9c2830185295b2a9ae78e13.tar.bz2 linux-ef41b5c924984b34d9c2830185295b2a9ae78e13.zip |
ARM: make kernel oops easier to read
We don't need the offset for the first function name in each backtrace
entry; this needlessly consumes screen space. This is virtually always
the first or second instruction in the called function.
Also, recognise stmfd instructions which include r10 as a valid stack
saving instruction, and when dumping the registers, dump six registers
per line rather than five, and fix the wrapping.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
-rw-r--r-- | arch/arm/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 7940241f0576..a55a14267870 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -56,7 +56,7 @@ static void dump_mem(const char *, const char *, unsigned long, unsigned long); void dump_backtrace_entry(unsigned long where, unsigned long from, unsigned long frame) { #ifdef CONFIG_KALLSYMS - printk("[<%08lx>] (%pS) from [<%08lx>] (%pS)\n", where, (void *)where, from, (void *)from); + printk("[<%08lx>] (%ps) from [<%08lx>] (%pS)\n", where, (void *)where, from, (void *)from); #else printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from); #endif |