You need to sign in or sign up before continuing.
提交 dc24d1d2 编写于 作者: D David Hildenbrand 提交者: Radim Krčmář

KVM: x86: make kvm_pic_reset() static

Not used outside of i8259.c, so let's make it static.
Signed-off-by: NDavid Hildenbrand <david@redhat.com>
Signed-off-by: NRadim Krčmář <rkrcmar@redhat.com>
上级 e21d1758
...@@ -268,7 +268,7 @@ int kvm_pic_read_irq(struct kvm *kvm) ...@@ -268,7 +268,7 @@ int kvm_pic_read_irq(struct kvm *kvm)
return intno; return intno;
} }
void kvm_pic_reset(struct kvm_kpic_state *s) static void kvm_pic_reset(struct kvm_kpic_state *s)
{ {
int irq, i; int irq, i;
struct kvm_vcpu *vcpu; struct kvm_vcpu *vcpu;
......
...@@ -114,8 +114,6 @@ static inline int irqchip_in_kernel(struct kvm *kvm) ...@@ -114,8 +114,6 @@ static inline int irqchip_in_kernel(struct kvm *kvm)
return mode > KVM_IRQCHIP_INIT_IN_PROGRESS; 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_pending_timer_irqs(struct kvm_vcpu *vcpu);
void kvm_inject_apic_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); void kvm_apic_nmi_wd_deliver(struct kvm_vcpu *vcpu);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册