]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: hyp-stub: Fix Thumb-2 compilation
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 20 Apr 2017 10:16:20 +0000 (11:16 +0100)
committerChristoffer Dall <cdall@linaro.org>
Thu, 20 Apr 2017 10:58:53 +0000 (12:58 +0200)
commit58101ef29bc8bd7406a8927410e6ad1393e3c140
tree9b961f9cd6b1816f9b76d4bb0875262b062d39ac
parent7da7f11719167eb20f59cd73a5921d2922a9898b
ARM: hyp-stub: Fix Thumb-2 compilation

The assembler defaults to emiting the short form of ADR, leading
to an out-of-range immediate. Using the wide version solves this
issue.

Fixes: 973f51951f66 ("ARM: KVM: Implement HVC_RESET_VECTORS stub hypercall in the init code")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm/kernel/hyp-stub.S