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)
commit5b560525add78e15fd5b75e5d03ea1ff988e6747
tree9b961f9cd6b1816f9b76d4bb0875262b062d39ac
parentcffcd9df10daa753610d79f018466f9c61603b97
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: bc845e4fbbbb ("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