diff options
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; |