kvm_cpu_get_interrupt() is implemented only by x86.
PATCH 1/1 kvm_cpu_get_interrupt() is implemented only by x86.
Move it from global .h file to arch/x86
Signed-off-by Gleb Natapov <[email protected]>
--- 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
@@ -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
@@ -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
Avi Kivity
AppliedQuoted 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