commit | 39369f7a8b7314b8f7860c880a2198c11cebdf5a | [log] [tgz] |
---|---|---|
author | Geoff Levand <geoff@infradead.org> | Fri Apr 05 19:20:30 2013 +0000 |
committer | Gleb Natapov <gleb@redhat.com> | Mon Apr 08 13:02:04 2013 +0300 |
tree | c0eed7068022d51c1f7f14ab4706b5fff0563b6c | |
parent | fc1b74925f87f6aca5432eb73f6a57eff30afde7 [diff] |
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>