From: David Hildenbrand Date: Fri, 7 Apr 2017 08:50:37 +0000 (+0200) Subject: KVM: x86: make kvm_pic_reset() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc24d1d2cbfa3f69c74825253d5931d1ff499205;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git KVM: x86: make kvm_pic_reset() static Not used outside of i8259.c, so let's make it static. Signed-off-by: David Hildenbrand Signed-off-by: Radim Krčmář --- diff --git a/arch/x86/kvm/i8259.c b/arch/x86/kvm/i8259.c index fce571c667c6..0252e680097c 100644 --- a/arch/x86/kvm/i8259.c +++ b/arch/x86/kvm/i8259.c @@ -268,7 +268,7 @@ int kvm_pic_read_irq(struct kvm *kvm) return intno; } -void kvm_pic_reset(struct kvm_kpic_state *s) +static void kvm_pic_reset(struct kvm_kpic_state *s) { int irq, i; struct kvm_vcpu *vcpu; diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h index 8fec66d1b9a9..0edd22c3344c 100644 --- a/arch/x86/kvm/irq.h +++ b/arch/x86/kvm/irq.h @@ -114,8 +114,6 @@ static inline int irqchip_in_kernel(struct kvm *kvm) return mode > KVM_IRQCHIP_INIT_IN_PROGRESS; } -void kvm_pic_reset(struct kvm_kpic_state *s); - void kvm_inject_pending_timer_irqs(struct kvm_vcpu *vcpu); void kvm_inject_apic_timer_irqs(struct kvm_vcpu *vcpu); void kvm_apic_nmi_wd_deliver(struct kvm_vcpu *vcpu);