summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/i8259.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-04-07 11:50:37 +0300
committerRadim Krčmář <rkrcmar@redhat.com>2017-04-12 21:17:14 +0300
commitdc24d1d2cbfa3f69c74825253d5931d1ff499205 (patch)
treeaf3a7787e77a4d64549e3ee5f1b60bd2de3f50d0 /arch/x86/kvm/i8259.c
parente21d1758b0377c9b1351d76fb36ecd34ca72880d (diff)
downloadlinux-dc24d1d2cbfa3f69c74825253d5931d1ff499205.tar.xz
KVM: x86: make kvm_pic_reset() static
Not used outside of i8259.c, so let's make it static. Signed-off-by: David Hildenbrand <david@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/i8259.c')
-rw-r--r--arch/x86/kvm/i8259.c2
1 files changed, 1 insertions, 1 deletions
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;