summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/head.S
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2012-11-30 11:56:05 (GMT)
committerWill Deacon <will.deacon@arm.com>2013-01-10 21:08:22 (GMT)
commita4a12e008e292a81d312659529b71be2026ab355 (patch)
tree184dad4b209335a554ea5dc9d25c6e097f061d66 /arch/arm/kernel/head.S
parent9931faca02c604c22335f5a935a501bb2ace6e20 (diff)
downloadlinux-a4a12e008e292a81d312659529b71be2026ab355.tar.xz
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: Dave Martin <dave.martin@linaro.org> [will: fixed up remaining bx instruction] Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel/head.S')
0 files changed, 0 insertions, 0 deletions