summaryrefslogtreecommitdiffstats
path: root/virt/kvm/ioapic.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-12-29 12:12:29 -0800
committerMarcelo Tosatti <mtosatti@redhat.com>2014-01-08 19:02:58 -0200
commit7940876e1330671708186ac3386aa521ffb5c182 (patch)
treeabe06165870e77111ba9e3d1b5f900c1cd8c4cef /virt/kvm/ioapic.c
parent2f0a6397dd3cac2fb05b46cad08c1d532c04d6b8 (diff)
downloadop-kernel-dev-7940876e1330671708186ac3386aa521ffb5c182.zip
op-kernel-dev-7940876e1330671708186ac3386aa521ffb5c182.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>
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 2d68297..ce9ed99 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;
OpenPOWER on IntegriCloud