diff options
Diffstat (limited to 'kernel/arch/sh/kernel/cpu/sh5/unwind.c')
-rw-r--r-- | kernel/arch/sh/kernel/cpu/sh5/unwind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/sh/kernel/cpu/sh5/unwind.c b/kernel/arch/sh/kernel/cpu/sh5/unwind.c index 10aed4175..3a4fed406 100644 --- a/kernel/arch/sh/kernel/cpu/sh5/unwind.c +++ b/kernel/arch/sh/kernel/cpu/sh5/unwind.c @@ -159,7 +159,7 @@ static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc, /* 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 */ |