aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/hyp/hyp.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-01-05 13:43:18 -0500
committerMarc Zyngier <marc.zyngier@arm.com>2016-02-29 13:34:14 -0500
commitbafc6c2a22553193d1d1ce83783b7faa0924158e (patch)
tree82e084f84983034a6fb53e4ad76081ef25b8a659 /arch/arm/kvm/hyp/hyp.h
parent97e964371377ebf3958701b082597c2162e3df18 (diff)
ARM: KVM: Add HYP mode entry code
This part is almost entierely borrowed from the existing code, just slightly simplifying the HYP function call (as we now save SPSR_hyp in the world switch). Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/hyp/hyp.h')
-rw-r--r--arch/arm/kvm/hyp/hyp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kvm/hyp/hyp.h b/arch/arm/kvm/hyp/hyp.h
index 8b1156b691ff..8b9c2eb5a9dc 100644
--- a/arch/arm/kvm/hyp/hyp.h
+++ b/arch/arm/kvm/hyp/hyp.h
@@ -123,4 +123,6 @@ void __hyp_text __banked_restore_state(struct kvm_cpu_context *ctxt);
123 123
124int asmlinkage __guest_enter(struct kvm_vcpu *vcpu, 124int asmlinkage __guest_enter(struct kvm_vcpu *vcpu,
125 struct kvm_cpu_context *host); 125 struct kvm_cpu_context *host);
126int asmlinkage __hyp_do_panic(const char *, int, u32);
127
126#endif /* __ARM_KVM_HYP_H__ */ 128#endif /* __ARM_KVM_HYP_H__ */