--- zzzz-none-000/linux-3.10.107/arch/sh/kernel/cpu/sh5/unwind.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/sh/kernel/cpu/sh5/unwind.c 2021-02-04 17:41:59.000000000 +0000 @@ -159,7 +159,7 @@ /* Sign extend */ regcache[dest] = - ((((s64)(u64)op >> 10) & 0xffff) << 54) >> 54; + sign_extend64((((u64)op >> 10) & 0xffff), 9); break; case (0xd0 >> 2): /* addi */ case (0xd4 >> 2): /* addi.l */