|
@@ -307,7 +307,7 @@ static inline void kvm_arch_mmu_notifier_invalidate_page(struct kvm *kvm,
|
|
|
struct kvm_vcpu *kvm_arm_get_running_vcpu(void);
|
|
|
struct kvm_vcpu * __percpu *kvm_get_running_vcpus(void);
|
|
|
|
|
|
-u64 kvm_call_hyp(void *hypfn, ...);
|
|
|
+u64 __kvm_call_hyp(void *hypfn, ...);
|
|
|
void force_vm_exit(const cpumask_t *mask);
|
|
|
void kvm_mmu_wp_memory_region(struct kvm *kvm, int slot);
|
|
|
|
|
@@ -328,8 +328,8 @@ static inline void __cpu_init_hyp_mode(phys_addr_t boot_pgd_ptr,
|
|
|
* Call initialization code, and switch to the full blown
|
|
|
* HYP code.
|
|
|
*/
|
|
|
- kvm_call_hyp((void *)boot_pgd_ptr, pgd_ptr,
|
|
|
- hyp_stack_ptr, vector_ptr);
|
|
|
+ __kvm_call_hyp((void *)boot_pgd_ptr, pgd_ptr,
|
|
|
+ hyp_stack_ptr, vector_ptr);
|
|
|
}
|
|
|
|
|
|
static inline void kvm_arch_hardware_disable(void) {}
|
|
@@ -343,4 +343,6 @@ void kvm_arm_setup_debug(struct kvm_vcpu *vcpu);
|
|
|
void kvm_arm_clear_debug(struct kvm_vcpu *vcpu);
|
|
|
void kvm_arm_reset_debug_ptr(struct kvm_vcpu *vcpu);
|
|
|
|
|
|
+#define kvm_call_hyp(f, ...) __kvm_call_hyp(kvm_ksym_ref(f), ##__VA_ARGS__)
|
|
|
+
|
|
|
#endif /* __ARM64_KVM_HOST_H__ */
|