Skip to contentSkip to conversation

kvm_cpu_get_interrupt() is implemented only by x86.

PATCH Applied Gleb Natapov 2 participants 2 messages Jul 9, 2009 – Jul 12, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm_cpu_get_interrupt() is implemented only by x86.

Move it from global .h file to arch/x86

---
 arch/x86/include/asm/kvm_host.h |    1 +
 include/linux/kvm_host.h        |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/include/asm/kvm_host.h +1 -0
index bbc9727..08732d7 100644
@@ -799,5 +799,6 @@ int kvm_age_hva(struct kvm *kvm, unsigned long hva);
 int cpuid_maxphyaddr(struct kvm_vcpu *vcpu);
 int kvm_cpu_has_interrupt(struct kvm_vcpu *vcpu);
 int kvm_arch_interrupt_allowed(struct kvm_vcpu *vcpu);
+int kvm_cpu_get_interrupt(struct kvm_vcpu *v);
 
 #endif /* _ASM_X86_KVM_HOST_H */
include/linux/kvm_host.h +0 -1
index 3778081..f54a0d3 100644
@@ -334,7 +334,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_pending_timer(struct kvm_vcpu *vcpu);
 void kvm_vcpu_kick(struct kvm_vcpu *vcpu);
 
Signature · 1 line
1.6.2.1
Applied
#1 lore raw
Quoted 2 lines · Gleb Natapov

Move it from global .h file to arch/x86

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function