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>
Fri, 11 Jul 2014 11:57:35 +0000 (04:57 -0700)
commit45451914c875bba44903ce4f1445e047b7992bf7
treeb0166425fe288e77a9315fa289332795210318fe
parentf982cf4e9c37b19478c7bc6e0484a43a7e78cf57
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>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/virt.h
arch/arm64/kvm/hyp.S