aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-03-01 08:12:44 -0500
committerCatalin Marinas <catalin.marinas@arm.com>2016-03-01 08:49:51 -0500
commit22b39ca3f22ac46a42731447aadc0a5109078241 (patch)
tree08d0493a47a2c1cc9f76b5d18314050415aafc8d
parent020d044f66874eba058ce8264fc550f3eca67879 (diff)
arm64: KVM: Move kvm_call_hyp back to its original localtion
In order to reduce the risk of a bad merge, let's move the new kvm_call_hyp back to its original location in the file. This has zero impact from a code point of view. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--arch/arm64/include/asm/kvm_host.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h
index e3d67ff8798b..e465b6d17dbe 100644
--- a/arch/arm64/include/asm/kvm_host.h
+++ b/arch/arm64/include/asm/kvm_host.h
@@ -308,6 +308,8 @@ struct kvm_vcpu *kvm_arm_get_running_vcpu(void);
308struct kvm_vcpu * __percpu *kvm_get_running_vcpus(void); 308struct kvm_vcpu * __percpu *kvm_get_running_vcpus(void);
309 309
310u64 __kvm_call_hyp(void *hypfn, ...); 310u64 __kvm_call_hyp(void *hypfn, ...);
311#define kvm_call_hyp(f, ...) __kvm_call_hyp(kvm_ksym_ref(f), ##__VA_ARGS__)
312
311void force_vm_exit(const cpumask_t *mask); 313void force_vm_exit(const cpumask_t *mask);
312void kvm_mmu_wp_memory_region(struct kvm *kvm, int slot); 314void kvm_mmu_wp_memory_region(struct kvm *kvm, int slot);
313 315
@@ -343,6 +345,4 @@ void kvm_arm_setup_debug(struct kvm_vcpu *vcpu);
343void kvm_arm_clear_debug(struct kvm_vcpu *vcpu); 345void kvm_arm_clear_debug(struct kvm_vcpu *vcpu);
344void kvm_arm_reset_debug_ptr(struct kvm_vcpu *vcpu); 346void kvm_arm_reset_debug_ptr(struct kvm_vcpu *vcpu);
345 347
346#define kvm_call_hyp(f, ...) __kvm_call_hyp(kvm_ksym_ref(f), ##__VA_ARGS__)
347
348#endif /* __ARM64_KVM_HOST_H__ */ 348#endif /* __ARM64_KVM_HOST_H__ */