Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a4a12e00 authored by Dave Martin's avatar Dave Martin Committed by Will Deacon
Browse files

ARM: virt: Avoid bx instruction for compatibility with <=ARMv4



Non-T variants of ARMv4 do not support the bx instruction.

However, __hyp_stub_install is always called from the same
instruction set used to build the bulk of the kernel, so bx should
not be necessary.

This patch uses the traditional "mov pc" instead of bx.

Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarDave Martin <dave.martin@linaro.org>
[will: fixed up remaining bx instruction]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 9931faca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment