KVM: fix sparse warnings: Should it be static?
authorHannes Eder <hannes@hanneseder.net>
Sat, 21 Feb 2009 01:19:13 +0000 (02:19 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:14 +0000 (11:03 +0200)
commitcded19f396bc3c9d299331709d0a9fbc6ecc148a
treeb6aa4f8246e7341965d0100fec6c65a156235fed
parentd7364a29b305862cbc92b3f8b6ad9968270d068c
KVM: fix sparse warnings: Should it be static?

Impact: Make symbols static.

Fix this sparse warnings:
  arch/x86/kvm/mmu.c:992:5: warning: symbol 'mmu_pages_add' was not declared. Should it be static?
  arch/x86/kvm/mmu.c:1124:5: warning: symbol 'mmu_pages_next' was not declared. Should it be static?
  arch/x86/kvm/mmu.c:1144:6: warning: symbol 'mmu_pages_clear_parents' was not declared. Should it be static?
  arch/x86/kvm/x86.c:2037:5: warning: symbol 'kvm_read_guest_virt' was not declared. Should it be static?
  arch/x86/kvm/x86.c:2067:5: warning: symbol 'kvm_write_guest_virt' was not declared. Should it be static?
  virt/kvm/irq_comm.c:220:5: warning: symbol 'setup_routing_entry' was not declared. Should it be static?

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/x86.c
virt/kvm/irq_comm.c