KVM: Make local routines static
authorGeoff Levand <geoff@infradead.org>
Fri, 5 Apr 2013 19:20:30 +0000 (19:20 +0000)
committerGleb Natapov <gleb@redhat.com>
Mon, 8 Apr 2013 10:02:04 +0000 (13:02 +0300)
commit39369f7a8b7314b8f7860c880a2198c11cebdf5a
treec0eed7068022d51c1f7f14ab4706b5fff0563b6c
parentfc1b74925f87f6aca5432eb73f6a57eff30afde7
KVM: Make local routines static

The routines get_user_page_nowait(), kvm_io_bus_sort_cmp(), kvm_io_bus_insert_dev()
and kvm_io_bus_get_first_dev() are only referenced within kvm_main.c, so give them
static linkage.

Fixes sparse warnings like these:

  virt/kvm/kvm_main.c: warning: symbol 'get_user_page_nowait' was not declared. Should it be static?

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
virt/kvm/kvm_main.c