arm64: KVM: remove __kvm_hyp_code_{start,end} from hyp.S
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 26 Jun 2013 14:16:40 +0000 (15:16 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:55 +0000 (17:18 +0200)
commitcab0beb93ff52f5a47cf9a1a03c9c73d473d28d6
treef0e159b3910659512c5c89fcb22680c6ad0f3e07
parent79f17b6074e34191952a9249b061012a23f3888a
arm64: KVM: remove __kvm_hyp_code_{start,end} from hyp.S

We already have __hyp_text_{start,end} to express the boundaries
of the HYP text section, and __kvm_hyp_code_{start,end} are getting
in the way of a more modular world switch code.

Just turn __kvm_hyp_code_{start,end} into #defines mapping the
linker-emited symbols.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 45451914c875bba44903ce4f1445e047b7992bf7)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/virt.h
arch/arm64/kvm/hyp.S