mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 23:46:41 +07:00
Blackfin: fix decoding of opcodes 41-47 in decode_instruction()
This condition allowed only decoding of opcode 0x0040 Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
d86bfb1600
commit
48a74f9d1b
@ -712,7 +712,7 @@ static void decode_instruction(unsigned short *address)
|
||||
verbose_printk("RTE");
|
||||
else if (opcode == 0x0025)
|
||||
verbose_printk("EMUEXCPT");
|
||||
else if (opcode == 0x0040 && opcode <= 0x0047)
|
||||
else if (opcode >= 0x0040 && opcode <= 0x0047)
|
||||
verbose_printk("STI R%i", opcode & 7);
|
||||
else if (opcode >= 0x0050 && opcode <= 0x0057)
|
||||
verbose_printk("JUMP (P%i)", opcode & 7);
|
||||
|
Loading…
Reference in New Issue
Block a user