aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@amd.com>2010-12-21 05:12:01 -0500
committerAvi Kivity <avi@redhat.com>2011-01-12 04:30:59 -0500
commitdb8fcefaa704ccb40b6dcd24e3b75bad3ce7dde3 (patch)
tree7915835b4ebe513bbb9ad08388db5a45fa0355f0 /arch/x86/include
parenteea1cff9ab732ea56358ff5e1bd8b99db2e8402d (diff)
KVM: move complete_insn_gp() into x86.c
move the complete_insn_gp() helper function out of the VMX part into the generic x86 part to make it usable by SVM. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index cb5cad2f2d46..cd4a990e8a12 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -828,4 +828,6 @@ void kvm_arch_async_page_ready(struct kvm_vcpu *vcpu,
828bool kvm_arch_can_inject_async_page_present(struct kvm_vcpu *vcpu); 828bool kvm_arch_can_inject_async_page_present(struct kvm_vcpu *vcpu);
829extern bool kvm_find_async_pf_gfn(struct kvm_vcpu *vcpu, gfn_t gfn); 829extern bool kvm_find_async_pf_gfn(struct kvm_vcpu *vcpu, gfn_t gfn);
830 830
831void kvm_complete_insn_gp(struct kvm_vcpu *vcpu, int err);
832
831#endif /* _ASM_X86_KVM_HOST_H */ 833#endif /* _ASM_X86_KVM_HOST_H */