diff options
author | Robin Getz <robin.getz@analog.com> | 2010-03-15 13:42:07 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-05-21 09:40:19 -0400 |
commit | 9a95e2f1008ee433c496a81628cdde67acc8e4b1 (patch) | |
tree | 44f08c82c40a664f6757da01e3f9e7b7f719afab /arch/blackfin/kernel/traps.c | |
parent | d60805ad470aef52465f3dc982212f559d9f661b (diff) |
Blackfin: make hardware trace output a little more useful
Decode the vast majority of insns that appear in the trace buffer to get a
better idea of what's going on at a glance.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/traps.c')
-rw-r--r-- | arch/blackfin/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 7c31a3d7af22..fffcf8a516bf 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
@@ -546,7 +546,7 @@ void panic_cplb_error(int cplb_panic, struct pt_regs *fp) | |||
546 | #ifdef CONFIG_BUG | 546 | #ifdef CONFIG_BUG |
547 | int is_valid_bugaddr(unsigned long addr) | 547 | int is_valid_bugaddr(unsigned long addr) |
548 | { | 548 | { |
549 | unsigned short opcode; | 549 | unsigned int opcode; |
550 | 550 | ||
551 | if (!get_instruction(&opcode, (unsigned short *)addr)) | 551 | if (!get_instruction(&opcode, (unsigned short *)addr)) |
552 | return 0; | 552 | return 0; |