arch/sh/kernel/cpu/sh2a/opcode_helper.c
0 → 100644
+55
−0
+3
−2
+4
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
SH-2A supports both 16 and 32-bit instructions, add a simple helper
for figuring out the instruction size in the places where there are
hardcoded 16-bit assumptions.
Signed-off-by:
Paul Mundt <lethal@linux-sh.org>