aboutsummaryrefslogtreecommitdiff
path: root/virt/kvm/ioapic.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-12-29 12:12:29 -0800
committerChristoffer Dall <christoffer.dall@linaro.org>2014-10-02 17:18:28 +0200
commit2aad15258f0795432073b14b616a634e452432f0 (patch)
tree1a8acd36f787971f0dd631fa3e29767a385ede3d /virt/kvm/ioapic.c
parentdfbd506266a97ad252336ea96e41791fdd0c0828 (diff)
downloadlinux-linaro-stable-2aad15258f0795432073b14b616a634e452432f0.tar.gz
kvm: make local functions static
Running 'make namespacecheck' found lots of functions that should be declared static, since only used in one file. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> (cherry picked from commit 7940876e1330671708186ac3386aa521ffb5c182) Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/ioapic.c')
-rw-r--r--virt/kvm/ioapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/ioapic.c b/virt/kvm/ioapic.c
index 2d682977ce82..ce9ed99ad7dc 100644
--- a/virt/kvm/ioapic.c
+++ b/virt/kvm/ioapic.c
@@ -520,7 +520,7 @@ static int ioapic_mmio_write(struct kvm_io_device *this, gpa_t addr, int len,
return 0;
}
-void kvm_ioapic_reset(struct kvm_ioapic *ioapic)
+static void kvm_ioapic_reset(struct kvm_ioapic *ioapic)
{
int i;