]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
KVM: Move kvm_cpu_get_interrupt() declaration to x86 code
authorGleb Natapov <gleb@redhat.com>
Thu, 9 Jul 2009 12:33:53 +0000 (15:33 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:13 +0000 (08:33 +0300)
It is implemented only by x86.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
include/linux/kvm_host.h

index 30b625d8e5f0a824f4cdb3b7db2144ee4b174471..3f4f00a2353642ccffc65a2932986a4413f2fed3 100644 (file)
@@ -797,5 +797,6 @@ asmlinkage void kvm_handle_fault_on_reboot(void);
 int kvm_unmap_hva(struct kvm *kvm, unsigned long hva);
 int kvm_age_hva(struct kvm *kvm, unsigned long hva);
 int cpuid_maxphyaddr(struct kvm_vcpu *vcpu);
+int kvm_cpu_get_interrupt(struct kvm_vcpu *v);
 
 #endif /* _ASM_X86_KVM_HOST_H */
index 6ec9fc56a49e54dd8f914f78b26d8119c5d78a1c..2c6a5f00874683a404837572f4c59d40c47ec3dd 100644 (file)
@@ -341,7 +341,6 @@ void kvm_arch_destroy_vm(struct kvm *kvm);
 void kvm_free_all_assigned_devices(struct kvm *kvm);
 void kvm_arch_sync_events(struct kvm *kvm);
 
-int kvm_cpu_get_interrupt(struct kvm_vcpu *v);
 int kvm_cpu_has_interrupt(struct kvm_vcpu *v);
 int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu);
 void kvm_vcpu_kick(struct kvm_vcpu *vcpu);