arm64: KVM: Add compatibility aliases
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / kvm / hyp / switch.c
index b012870a92e7a81226fd80c388963b2ec9c2be8f..7457ae4db86efd78d9d14daeec2a31d67b5f120f 100644 (file)
@@ -142,6 +142,9 @@ int __hyp_text __guest_run(struct kvm_vcpu *vcpu)
        return exit_code;
 }
 
+__alias(__guest_run)
+int __weak __kvm_vcpu_run(struct kvm_vcpu *vcpu);
+
 static const char __hyp_panic_string[] = "HYP panic:\nPS:%08llx PC:%016llx ESR:%08llx\nFAR:%016llx HPFAR:%016llx PAR:%016llx\nVCPU:%p\n";
 
 void __hyp_text __noreturn __hyp_panic(void)